Class: APN::Backend::Simple

Inherits:
Object
  • Object
show all
Defined in:
lib/apn/backend.rb

Instance Method Summary collapse

Instance Method Details

#notify(token, opts) ⇒ Object



20
21
22
23
24
# File 'lib/apn/backend.rb', line 20

def notify(token, opts)
  Thread.new do
    APN.notify_sync(token, opts)
  end
end