Exception: ZohoBooks::Error
- Inherits:
-
StandardError
- Object
- StandardError
- ZohoBooks::Error
- Defined in:
- lib/zoho_books/error.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) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code, message) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/zoho_books/error.rb', line 7 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/zoho_books/error.rb', line 5 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/zoho_books/error.rb', line 5 def @message end |