class Quickbooks::Service::Responses::OAuthHttpResponse
This class just proxies and returns a wrapped response so that callers can invoke a common interface
Public Class Methods
wrap(response)
click to toggle source
# File lib/quickbooks/service/responses/oauth_http_response.rb, line 9 def self.wrap(response) if response.is_a?(OAuth2::Response) Quickbooks::Service::Responses::OAuth2HttpResponse.new(response) else Quickbooks::Service::Responses::OAuth1HttpResponse.new(response) end end