Exception: PipedriveJetrockets::Error
- Inherits:
-
StandardError
- Object
- StandardError
- PipedriveJetrockets::Error
- Defined in:
- lib/pipedrive_jetrockets/error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code) ⇒ Error
Returns a new instance of Error.
4 5 6 |
# File 'lib/pipedrive_jetrockets/error.rb', line 4 def initialize(code) @code = code end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/pipedrive_jetrockets/error.rb', line 3 def code @code end |