Class: MyPush

Inherits:
Object
  • Object
show all
Includes:
ListDevices, Push
Defined in:
app/business/my_push.rb

Defined Under Namespace

Modules: ListDevices, Network, Push

Constant Summary collapse

BASE_URL =
"https://api.pushbullet.com/api"

Constants included from Push

Push::DEVICES_URL, Push::PUSH_TYPE_ADDRESS, Push::PUSH_TYPE_LINK, Push::PUSH_TYPE_LIST, Push::PUSH_TYPE_NOTE

Constants included from ListDevices

ListDevices::DEVICES_URL

Instance Method Summary collapse

Methods included from Push

#push

Methods included from ListDevices

#devices

Constructor Details

#initialize(params = {}) ⇒ MyPush

Returns a new instance of MyPush.



9
10
11
# File 'app/business/my_push.rb', line 9

def initialize(params = {})
  @token = params[:token]
end