Exception: PopbillException
- Inherits:
-
StandardError
- Object
- StandardError
- PopbillException
- Defined in:
- lib/popbill.rb
Overview
Popbill API Exception Handler class
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) ⇒ PopbillException
constructor
A new instance of PopbillException.
Constructor Details
#initialize(code, message) ⇒ PopbillException
Returns a new instance of PopbillException.
547 548 549 550 |
# File 'lib/popbill.rb', line 547 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
545 546 547 |
# File 'lib/popbill.rb', line 545 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
545 546 547 |
# File 'lib/popbill.rb', line 545 def @message end |