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