Module: Pushbullet
- Defined in:
- lib/pushbullet.rb,
lib/pushbullet/push.rb,
lib/pushbullet/error.rb,
lib/pushbullet/client.rb,
lib/pushbullet/device.rb,
lib/pushbullet/channel.rb,
lib/pushbullet/contact.rb,
lib/pushbullet/pushable.rb,
lib/pushbullet/resource.rb
Defined Under Namespace
Modules: Pushable
Classes: Channel, Client, Contact, Device, Error, Push, Resource
Class Method Summary
collapse
Class Method Details
.api_token ⇒ Object
19
20
21
|
# File 'lib/pushbullet.rb', line 19
def self.api_token
@api_token
end
|
.api_token=(api_token) ⇒ Object
15
16
17
|
# File 'lib/pushbullet.rb', line 15
def self.api_token=(api_token)
@api_token = api_token
end
|
.client ⇒ Object
23
24
25
|
# File 'lib/pushbullet.rb', line 23
def self.client
@client ||= Client.new
end
|