Exception: PagseguroClient::PagseguroError
- Inherits:
-
StandardError
- Object
- StandardError
- PagseguroClient::PagseguroError
- Defined in:
- lib/pagseguro_client/order.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ PagseguroError
constructor
A new instance of PagseguroError.
Constructor Details
#initialize(code, message) ⇒ PagseguroError
Returns a new instance of PagseguroError.
74 75 76 |
# File 'lib/pagseguro_client/order.rb', line 74 def initialize(code, ) @code, @message = code, end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
73 74 75 |
# File 'lib/pagseguro_client/order.rb', line 73 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
73 74 75 |
# File 'lib/pagseguro_client/order.rb', line 73 def @message end |