Class: GoogleShortLinks::Parser
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- GoogleShortLinks::Parser
- Defined in:
- lib/google_short_links/parser.rb
Constant Summary collapse
- SupportedFormats =
{ 'text/html' => :json }
Instance Method Summary collapse
Instance Method Details
#json ⇒ Object
7 8 9 |
# File 'lib/google_short_links/parser.rb', line 7 def json MultiJson.decode(body) end |