Class: HTTP::MimeType::JSON

Inherits:
Object
  • Object
show all
Defined in:
lib/revo/loans_api/client.rb

Instance Method Summary collapse

Instance Method Details

#decode(str) ⇒ Object



5
6
7
# File 'lib/revo/loans_api/client.rb', line 5

def decode(str)
  ::JSON.parse(str, symbolize_names: true)
end