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.



10
11
12
# File 'lib/eventmachine-distributed-notification.rb', line 10

def initialize
  @poster = PosterNative.new
end

Instance Method Details

#post(name, data) ⇒ Object



14
15
16
# File 'lib/eventmachine-distributed-notification.rb', line 14

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