Class: Hoss::Event::Error Private
- Inherits:
-
Object
- Object
- Hoss::Event::Error
- Extended by:
- Forwardable
- Defined in:
- lib/hoss/event.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- ConnectionTimeout =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'CONNECTION_TIMEOUT'
- RequestTimeout =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'REQUEST_TIMEOUT'
- ConnectionError =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'CONNECTION_ERROR'
Instance Attribute Summary collapse
- #received_at ⇒ Object private
- #type ⇒ Object private
Instance Method Summary collapse
-
#initialize(type) ⇒ Error
constructor
private
A new instance of Error.
Constructor Details
#initialize(type) ⇒ Error
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Error.
62 63 64 |
# File 'lib/hoss/event.rb', line 62 def initialize(type) @type = type end |
Instance Attribute Details
#received_at ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
65 66 67 |
# File 'lib/hoss/event.rb', line 65 def received_at @received_at end |
#type ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
65 66 67 |
# File 'lib/hoss/event.rb', line 65 def type @type end |