Module: Pushwoosh
- Extended by:
- Configurable
- Defined in:
- lib/pushwoosh.rb,
lib/pushwoosh/helpers.rb,
lib/pushwoosh/request.rb,
lib/pushwoosh/version.rb,
lib/pushwoosh/response.rb,
lib/pushwoosh/configurable.rb,
lib/pushwoosh/push_notification.rb
Defined Under Namespace
Modules: Configurable, Exceptions, Helpers
Classes: PushNotification, Request, Response
Constant Summary
collapse
- VERSION =
"1.0.1"
Instance Attribute Summary
Attributes included from Configurable
#application, #auth
Class Method Summary
collapse
configure, keys
Class Method Details
.notify_all(message, notification_options = {}) ⇒ Object
12
13
14
|
# File 'lib/pushwoosh.rb', line 12
def notify_all(message, notification_options = {})
PushNotification.new(options).notify_all(message, notification_options)
end
|
.notify_devices(message, devices = [], notification_options = {}) ⇒ Object
16
17
18
|
# File 'lib/pushwoosh.rb', line 16
def notify_devices(message, devices = [], notification_options = {})
PushNotification.new(options).notify_devices(message, devices, notification_options)
end
|