Class: Unsub::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/unsub/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 message, db, aws, services
  discover_kind message
  discover_host message, db, aws, services
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



3
4
5
# File 'lib/unsub/event.rb', line 3

def host
  @host
end

#kindObject (readonly)

Returns the value of attribute kind.



3
4
5
# File 'lib/unsub/event.rb', line 3

def kind
  @kind
end