class Maxmind::ChargebackResponse

Attributes

attributes[RW]
http_code[R]
response[R]

Public Class Methods

new(response = nil, http_code = nil) click to toggle source
# File lib/maxmind/chargeback_response.rb, line 6
def initialize(response = nil, http_code = nil)
  raise ArgumentError, 'Missing response string' unless response
  @response = response
  @http_code = http_code.to_i if http_code
end