Class: MyPush
- Inherits:
-
Object
- Object
- MyPush
- 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
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ MyPush
constructor
A new instance of MyPush.
Methods included from Push
Methods included from ListDevices
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 |