Class: Instapush::Event

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Event

Returns a new instance of Event.



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

def initialize(name)
  @name = name
  @tracker = Hash.new
end

Instance Method Details

#nameObject



8
9
10
# File 'lib/instapush/event.rb', line 8

def name
  @name
end

#trackerObject



16
17
18
# File 'lib/instapush/event.rb', line 16

def tracker
  @tracker
end

#tracker=(hash) ⇒ Object



12
13
14
# File 'lib/instapush/event.rb', line 12

def tracker=(hash)
  @tracker = hash
end