Sha256: 064aa81539df9edb7e172f8b8d1c70444e125a1665550e681599b0595a056cca
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
require 'json' module Animoto module ResponseParsers class JSONAdapter < Animoto::ResponseParsers::Base @format = 'json' # @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
Version data entries
3 entries across 3 versions & 1 rubygems