Class: LucidHttp::Formatter::JsonFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/lucid_http/formatters.rb

Instance Method Summary collapse

Instance Method Details

#call(response_body) ⇒ Object



20
21
22
# File 'lib/lucid_http/formatters.rb', line 20

def call(response_body)
  JSON.parse(response_body)
end