diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2015-12-31 15:19:13 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2015-12-31 16:26:54 +0100 |
commit | ea4777ff501e370a39ae30e76a955136afe3c1fa (patch) | |
tree | 51edc60d0f03ec2fa2dd9dbb802182cc73c9c6a6 /lib/api/entities.rb | |
parent | 2c1f8e2d157554b12845ee7ecea1abff10dcf7cb (diff) | |
download | gitlab-ce-ea4777ff501e370a39ae30e76a955136afe3c1fa.tar.gz |
Add features for list and show details of variables in API
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 26e7c956e8f..f71d072f269 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -365,5 +365,9 @@ module API class TriggerRequest < Grape::Entity expose :id, :variables end + + class Variable < Grape::Entity + expose :id, :key, :value + end end end |