class Portmone::Responses::BaseResponse
Attributes
response[R]
xml_data[R]
Public Class Methods
new(faraday_response, currency:, timezone:)
click to toggle source
# File lib/portmone/responses/base_response.rb, line 5 def initialize(faraday_response, currency:, timezone:) @response = faraday_response @xml_data = MultiXml.parse(@response.body) @currency = currency @timezone = timezone end
Public Instance Methods
http_status()
click to toggle source
# File lib/portmone/responses/base_response.rb, line 12 def http_status response.status end