Class: Ably::Realtime::Push

Inherits:
Object
  • Object
show all
Defined in:
lib/ably/realtime/push.rb,
lib/ably/realtime/push/admin.rb,
lib/ably/realtime/push/device_registrations.rb,
lib/ably/realtime/push/channel_subscriptions.rb

Overview

Class providing push notification functionality

Defined Under Namespace

Classes: Admin, ChannelSubscriptions, DeviceRegistrations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Push

Returns a new instance of Push.



10
11
12
# File 'lib/ably/realtime/push.rb', line 10

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)



8
9
10
# File 'lib/ably/realtime/push.rb', line 8

def client
  @client
end

Instance Method Details

#adminAbly::Realtime::Push::Admin

A Admin object.



20
21
22
# File 'lib/ably/realtime/push.rb', line 20

def admin
  @admin ||= Admin.new(self)
end