lib/gems/request.rb in gems-0.0.7 vs lib/gems/request.rb in gems-0.0.8
- old
+ new
@@ -27,10 +27,10 @@
response.body
end
def formatted_path(path, format)
case format.to_s.downcase
- when 'json', 'xml'
+ when 'json', 'xml', 'yaml'
[path, format].compact.join('.')
when 'marshal', 'raw'
path
end
end