Class: Paypal::Permissions::UnknownResponse
- Inherits:
-
Error
- Object
- Error
- Paypal::Permissions::UnknownResponse
- Defined in:
- lib/paypal/permissions/fault_message.rb
Overview
PayPal returned an unexpected error message
Instance Attribute Summary collapse
-
#response_code ⇒ Object
Returns the value of attribute response_code.
Instance Method Summary collapse
-
#initialize(response_code, message) ⇒ UnknownResponse
constructor
A new instance of UnknownResponse.
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, ) @response_code = response_code @message = end |
Instance Attribute Details
#response_code ⇒ Object
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 |