./lib/animoto/response_parsers/json_adapter.rb in animoto-0.1.1.beta1 vs ./lib/animoto/response_parsers/json_adapter.rb in animoto-1.0.0
- old
+ new
@@ -4,19 +4,17 @@
module ResponseParsers
class JSONAdapter < Animoto::ResponseParsers::Base
@format = 'json'
- # @return [Hash<String,Object>]
+ # @return [Hash{String=>Object}]
def parse string
::JSON.parse string
end
# @return [String]
def unparse object
::JSON.unparse object
end
- end
-
- adapter_map.merge! :json => JSONAdapter
+ end
end
end
\ No newline at end of file