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.
432 433 434 435 |
# File 'lib/popbill.rb', line 432 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
430 431 432 |
# File 'lib/popbill.rb', line 430 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
430 431 432 |
# File 'lib/popbill.rb', line 430 def @message end |