Class: Paypal::Permissions::UnknownResponse

Inherits:
Error
  • Object
show all
Defined in:
lib/paypal/permissions/fault_message.rb

Overview

PayPal returned an unexpected error message

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response_code, message) ⇒ UnknownResponse

Returns a new instance of UnknownResponse.



12
13
14
15
# File 'lib/paypal/permissions/fault_message.rb', line 12

def initialize(response_code, message)
  @response_code = response_code
  @message = message
end

Instance Attribute Details

#response_codeObject

Returns the value of attribute response_code.



10
11
12
# File 'lib/paypal/permissions/fault_message.rb', line 10

def response_code
  @response_code
end