Class: Pushbullet::Client

Inherits:
Object
  • Object
show all
Includes:
API, Request, SecretAPI
Defined in:
lib/pushbullet/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#get, #post

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_keyObject (readonly)

Returns the value of attribute api_key.



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

def api_key
  @api_key
end