summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-30 16:46:16 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-30 16:46:16 +0300
commit1a595c3f0fb4a80aeb3efdaeb27d084f8029fd57 (patch)
tree5273c58118dd64c0700a88154eb0c0c7bec59397 /lib/api/entities.rb
parentd76520a3d091be232ce8a05fcaf605e2f268f821 (diff)
downloadgitlab-ci-1a595c3f0fb4a80aeb3efdaeb27d084f8029fd57.tar.gz
Remove runner functionality. Added api for builds
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
new file mode 100644
index 0000000..fdbc29b
--- /dev/null
+++ b/lib/api/entities.rb
@@ -0,0 +1,7 @@
+module API
+ module Entities
+ class Build < Grape::Entity
+ expose :id, :commands, :path, :ref, :sha
+ end
+ end
+end