Class: PriorityPayoutGateway::Error
- Inherits:
-
Object
- Object
- PriorityPayoutGateway::Error
- Defined in:
- lib/priority_payout_gateway/error.rb
Defined Under Namespace
Classes: AuthenticationError, InvalidResponseFormat, MissingParameters, NoApiKey, NoData, Timeout
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(code, message, response) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code, message, response) ⇒ Error
12 13 14 15 16 |
# File 'lib/priority_payout_gateway/error.rb', line 12 def initialize( code, , response) @code = response_code = @response = response end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
10 11 12 |
# File 'lib/priority_payout_gateway/error.rb', line 10 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
10 11 12 |
# File 'lib/priority_payout_gateway/error.rb', line 10 def end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
10 11 12 |
# File 'lib/priority_payout_gateway/error.rb', line 10 def response @response end |