Class: GoogleShortLinks::Parser

Inherits:
HTTParty::Parser
  • Object
show all
Defined in:
lib/google_short_links/parser.rb

Constant Summary collapse

SupportedFormats =
{ 'text/html' => :json }

Instance Method Summary collapse

Instance Method Details

#jsonObject



7
8
9
# File 'lib/google_short_links/parser.rb', line 7

def json
  MultiJson.decode(body)
end