Exception: BarocertException
- Inherits:
-
StandardError
- Object
- StandardError
- BarocertException
- Defined in:
- lib/barocert.rb
Overview
Barocert 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) ⇒ BarocertException
constructor
A new instance of BarocertException.
Constructor Details
#initialize(code, message) ⇒ BarocertException
Returns a new instance of BarocertException.
207 208 209 210 |
# File 'lib/barocert.rb', line 207 def initialize(code, ) @code = code = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
205 206 207 |
# File 'lib/barocert.rb', line 205 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
205 206 207 |
# File 'lib/barocert.rb', line 205 def end |