class Yotpo::ResponseParser
Public Instance Methods
parse(body)
click to toggle source
# File lib/yotpo/core/response_parser.rb, line 6 def parse(body) if body.respond_to?(:response) || body.respond_to?(:status) body.response || body.status else body end end