Module: Pushbullet

Defined in:
lib/pushbullet.rb,
lib/pushbullet/push.rb,
lib/pushbullet/device.rb,
lib/pushbullet/client.rb,
lib/pushbullet/contact.rb,
lib/pushbullet/channel.rb,
lib/pushbullet/pushable.rb,
lib/pushbullet/resource.rb

Defined Under Namespace

Modules: Pushable Classes: Channel, Client, Contact, Device, Push, Resource

Class Method Summary collapse

Class Method Details

.api_tokenObject


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

def self.api_token
  @api_token
end

.api_token=(api_token) ⇒ Object


14
15
16
# File 'lib/pushbullet.rb', line 14

def self.api_token=(api_token)
  @api_token = api_token
end

.clientObject


22
23
24
# File 'lib/pushbullet.rb', line 22

def self.client
  @client ||= Client.new
end