Module: MyPush::Push

Includes:
Network
Included in:
MyPush
Defined in:
app/business/my_push/push.rb

Constant Summary collapse

PUSH_TYPE_NOTE =
"note"
"link"
PUSH_TYPE_ADDRESS =
"address"
PUSH_TYPE_LIST =
"list"

Instance Method Summary collapse

Instance Method Details

#push(params = {}) ⇒ Object

List of devices

Params: :type => “note”,

:title => "Title", 
:body => "Message", 
:device_iden => "ujzCvGXFPuSdjzWIEVDzOK"


20
21
22
23
# File 'app/business/my_push/push.rb', line 20

def push params = {}
  @pushed = _send_post(params)
  @pushed
end