Class: EventMachine::DistributedNotification::Poster

Inherits:
Object
  • Object
show all
Defined in:
lib/eventmachine-distributed-notification.rb

Instance Method Summary collapse

Constructor Details

#initializePoster

Returns a new instance of Poster.



8
9
10
# File 'lib/eventmachine-distributed-notification.rb', line 8

def initialize
  @poster = PosterNative.new
end

Instance Method Details

#post(name, data) ⇒ Object



12
13
14
# File 'lib/eventmachine-distributed-notification.rb', line 12

def post(name, data)
  @poster.post(name, data)
end