class HTTParty::Parser

Public Class Methods

call(body, format) click to toggle source
# File lib/playtypus/http_sender.rb, line 7
def self.call(body, format)
  begin
    new(body, format).parse
  rescue JSON::ParserError
    format = :plain
    retry
  end
end