Merge branch 'master' into rlh_cleanup3

This commit is contained in:
Renée Hendricksen 2016-07-11 15:13:24 -04:00
commit f8b8ef54a9

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