Class: Umeng::Client
- Inherits:
-
Object
- Object
- Umeng::Client
- Includes:
- SendMessage
- Defined in:
- lib/umeng/client.rb
Instance Attribute Summary collapse
-
#app_master_secretm ⇒ Object
Returns the value of attribute app_master_secretm.
-
#appkey ⇒ Object
Returns the value of attribute appkey.
-
#plantform ⇒ Object
Returns the value of attribute plantform.
Instance Method Summary collapse
-
#initialize(appkey, app_master_secret, plantform) ⇒ Client
constructor
A new instance of Client.
Methods included from SendMessage
#push_broadcast, #push_listcast, #push_unicast
Methods included from JsonBody
Methods included from Services
Methods included from Util
Constructor Details
#initialize(appkey, app_master_secret, plantform) ⇒ Client
Returns a new instance of Client.
14 15 16 17 18 |
# File 'lib/umeng/client.rb', line 14 def initialize(appkey, app_master_secret, plantform) @plantform = plantform @appkey = appkey @app_master_secret = app_master_secret end |
Instance Attribute Details
#app_master_secretm ⇒ Object
Returns the value of attribute app_master_secretm.
12 13 14 |
# File 'lib/umeng/client.rb', line 12 def app_master_secretm @app_master_secretm end |
#appkey ⇒ Object
Returns the value of attribute appkey.
12 13 14 |
# File 'lib/umeng/client.rb', line 12 def appkey @appkey end |
#plantform ⇒ Object
Returns the value of attribute plantform.
12 13 14 |
# File 'lib/umeng/client.rb', line 12 def plantform @plantform end |