Module: PushNotifications

Includes:
Caze
Defined in:
lib/push_notifications.rb,
lib/push_notifications/client.rb,
lib/push_notifications/version.rb,
lib/push_notifications/use_cases/notify.rb

Defined Under Namespace

Modules: UseCases Classes: Client, PushError

Constant Summary collapse

VERSION =
'0.1.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.instance_idObject

Returns the value of attribute instance_id.



17
18
19
# File 'lib/push_notifications.rb', line 17

def instance_id
  @instance_id
end

.secret_keyObject

Returns the value of attribute secret_key.



17
18
19
# File 'lib/push_notifications.rb', line 17

def secret_key
  @secret_key
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



19
20
21
22
# File 'lib/push_notifications.rb', line 19

def configure
  yield(self)
  self
end