diff options
author | James Lopez <james@jameslopez.es> | 2017-07-05 14:59:19 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-07-06 15:27:48 +0200 |
commit | 383138af617135dd72ca7016c1156c0cd2e6cb25 (patch) | |
tree | e51c884974207270ae943ab7d6d425cc3a7f976c /lib/api | |
parent | bb918a2fd98136c232baa34104c357f3716f8842 (diff) | |
download | gitlab-ce-383138af617135dd72ca7016c1156c0cd2e6cb25.tar.gz |
add issues spec and user agent details to entities
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 99eda3b0c4b..33620473175 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -875,5 +875,11 @@ module API expose :dependencies, using: Dependency end end + + class UserAgentDetail < Grape::Entity + expose :user_agent + expose :ip_address + expose :submitted + end end end |