Class: Code42Api::ErrorMessage
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Code42Api::ErrorMessage
- Defined in:
- lib/code42_api/errors.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message, type = STANDARD_ERROR) ⇒ ErrorMessage
constructor
A new instance of ErrorMessage.
Constructor Details
#initialize(message, type = STANDARD_ERROR) ⇒ ErrorMessage
Returns a new instance of ErrorMessage.
85 86 87 88 |
# File 'lib/code42_api/errors.rb', line 85 def initialize(, type = STANDARD_ERROR) @type = type super() end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
83 84 85 |
# File 'lib/code42_api/errors.rb', line 83 def type @type end |