Class: WebService::Simple::Parser::JSON

Inherits:
WebService::Simple::Parser show all
Defined in:
lib/web_service/simple/parser/json.rb,
lib/web_service/simple/parser/json/pure.rb

Defined Under Namespace

Classes: Pure

Instance Method Summary collapse

Instance Method Details

#parse_response(response) ⇒ Object



8
9
10
# File 'lib/web_service/simple/parser/json.rb', line 8

def parse_response(response)
  ::JSON.parse response.content
end