Class: Whacamole::Events::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/whacamole/events.rb

Direct Known Subclasses

DynoRestart, DynoSize

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Event

Returns a new instance of Event.



6
7
8
9
10
# File 'lib/whacamole/events.rb', line 6

def initialize(attributes={})
  attributes.each do |k,v|
    self.send("#{k}=", v)
  end
end

Instance Attribute Details

#processObject

Returns the value of attribute process.



4
5
6
# File 'lib/whacamole/events.rb', line 4

def process
  @process
end