Class: Umeng::Client
Instance Attribute Summary collapse
-
#app_master_secret ⇒ Object
Returns the value of attribute app_master_secret.
-
#appkey ⇒ Object
Returns the value of attribute appkey.
Instance Method Summary collapse
-
#initialize(appkey, app_master_secret) ⇒ Client
constructor
A new instance of Client.
Methods included from Services
#cancel, #send_message, #status
Constructor Details
#initialize(appkey, app_master_secret) ⇒ Client
Returns a new instance of Client.
11 12 13 14 |
# File 'lib/umeng/client.rb', line 11 def initialize(appkey, app_master_secret) @appkey = appkey @app_master_secret = app_master_secret end |
Instance Attribute Details
#app_master_secret ⇒ Object
Returns the value of attribute app_master_secret.
9 10 11 |
# File 'lib/umeng/client.rb', line 9 def app_master_secret @app_master_secret end |
#appkey ⇒ Object
Returns the value of attribute appkey.
9 10 11 |
# File 'lib/umeng/client.rb', line 9 def appkey @appkey end |