Class: Unsub::Event
- Inherits:
-
Object
- Object
- Unsub::Event
- Defined in:
- lib/unsub/event.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
Instance Method Summary collapse
-
#initialize(message, db, aws, services) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(message, db, aws, services) ⇒ Event
Returns a new instance of Event.
5 6 7 8 |
# File 'lib/unsub/event.rb', line 5 def initialize , db, aws, services discover_kind discover_host , db, aws, services end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
3 4 5 |
# File 'lib/unsub/event.rb', line 3 def host @host end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
3 4 5 |
# File 'lib/unsub/event.rb', line 3 def kind @kind end |