diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-27 11:16:50 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-27 11:16:50 +0300 |
commit | 10ee137e9c13271d49d7046723b1e473d62a578f (patch) | |
tree | 6067fc4be800061ef5d10e4e1ddf02c401d7ac69 /lib/api/entities.rb | |
parent | 242291850d7513731355c42e67c2f8c3cc727451 (diff) | |
download | gitlab-ce-10ee137e9c13271d49d7046723b1e473d62a578f.tar.gz |
Expose timeout and same_ref compare fields
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api/entities.rb')
-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 eead8b18ebd..4a9220a7f49 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -210,6 +210,12 @@ module API expose :diffs, using: Entities::RepoDiff do |compare, options| compare.diffs end + + expose :compare_timeout do |compare, options| + compare.timeout + end + + expose :same, as: :compare_same_ref end end end |