Class: Umeng::Client

Inherits:
Object
  • Object
show all
Includes:
Services
Defined in:
lib/umeng/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_secretObject

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

#appkeyObject

Returns the value of attribute appkey.



9
10
11
# File 'lib/umeng/client.rb', line 9

def appkey
  @appkey
end