Module: PushyNotifier
- Defined in:
- lib/pushy_notifier.rb,
lib/pushy_notifier/version.rb,
lib/pushy_notifier/pushy_service.rb
Overview
The PushyNotifier module provides functionality for sending push notifications using the Pushy service. It includes configuration options and a service class for sending notifications.
Defined Under Namespace
Classes: PushyService
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
11 12 13 |
# File 'lib/pushy_notifier.rb', line 11 def api_key @api_key end |
Class Method Details
.configure {|_self| ... } ⇒ Object
13 14 15 |
# File 'lib/pushy_notifier.rb', line 13 def configure yield self end |
.pushy_service(api_key = nil) ⇒ Object
17 18 19 |
# File 'lib/pushy_notifier.rb', line 17 def pushy_service(api_key = nil) PushyService.new(api_key || @api_key) end |