Class: Hoss::Event::Error Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_atObject

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

#typeObject

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