Merge branch 'master' into jc-v3-env-vars

This commit is contained in:
Renée Hendricksen 2016-07-07 00:41:00 -04:00 committed by GitHub
commit f1d7305e9d

View File

@ -33,10 +33,10 @@ module Travis::API::V3
end end
def fields def fields
fields = { :"@type" => type } fields = { :"@type" => type }
fields[:@href] = href if href fields[:@href] = href if href
fields[:@representation] = representation fields[:@representation] = representation
fields[:@pagination] = pagination_info if meta_data.include? :pagination fields[:@pagination] = pagination_info if meta_data.include? :pagination
fields fields
end end