module RevereMobile::Response
Public Class Methods
create(body)
click to toggle source
# File lib/revere_mobile/response.rb, line 5 def self.create(body) JSON.parse(body) # The Mobile API does not always return JSON. For cases like this, we # will just return the body un-parsed. rescue JSON::ParserError body end