Class: Animoto::ResponseParsers::JSONAdapter
- Defined in:
- lib/animoto/response_parsers/json_adapter.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#parse(string) ⇒ Hash{String=>Object}
10 11 12 |
# File 'lib/animoto/response_parsers/json_adapter.rb', line 10 def parse string ::JSON.parse string end |
#unparse(object) ⇒ String
15 16 17 |
# File 'lib/animoto/response_parsers/json_adapter.rb', line 15 def unparse object ::JSON.unparse object end |