Class: EventMachine::DistributedNotification::Poster
- Inherits:
-
Object
- Object
- EventMachine::DistributedNotification::Poster
- Defined in:
- lib/eventmachine-distributed-notification.rb
Instance Method Summary collapse
-
#initialize ⇒ Poster
constructor
A new instance of Poster.
- #post(name, data) ⇒ Object
Constructor Details
#initialize ⇒ Poster
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 |