Module: Pusher::PushNotifications

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

Defined Under Namespace

Modules: UseCases Classes: Client, PushError

Constant Summary collapse

VERSION =
'0.2.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.instance_idObject

Returns the value of attribute instance_id.



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

def instance_id
  @instance_id
end

.secret_keyObject

Returns the value of attribute secret_key.



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

def secret_key
  @secret_key
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:



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

def configure
  yield(self)
  self
end