Users.Mobile Class
Class representing 'Mobile' rows in the 'Users' database
Constructor
Users.Mobile
(
-
fields
Parameters:
-
fields
ObjectThe fields values to initialize table row as an associative array of
{column: value}
pairs
Item Index
Methods
- sendMessage static
- sendMessage
- setUp
Methods
sendMessage
(
static
-
to
-
view
-
[fields={}]
-
[options]
-
callback
Send sms message. Use 'Users/twilio' config. Requires valid twilio SID and TOKEN as well as twilio phone number either in the config or within options
sendMessage
(
-
view
-
fields={}
-
options={}
-
callback
Parameters:
setUp
()
The setUp() method is called the first time an object of this class is constructed.