Class: Pushbullet::Client
- Inherits:
-
Object
- Object
- Pushbullet::Client
- Defined in:
- lib/pushbullet/client.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize(api_key) ⇒ Client
constructor
A new instance of Client.
Methods included from SecretAPI
#contacts, #push_address_to, #push_link_to, #push_list_to, #push_note_to
Methods included from API
#devices, #push_address, #push_file, #push_link, #push_list, #push_note
Methods included from Request
Constructor Details
#initialize(api_key) ⇒ Client
Returns a new instance of Client.
15 16 17 |
# File 'lib/pushbullet/client.rb', line 15 def initialize(api_key) @api_key = api_key end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
13 14 15 |
# File 'lib/pushbullet/client.rb', line 13 def api_key @api_key end |