Class: Umeng::Client

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_secretmObject

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

#appkeyObject

Returns the value of attribute appkey.



12
13
14
# File 'lib/umeng/client.rb', line 12

def appkey
  @appkey
end

#plantformObject

Returns the value of attribute plantform.



12
13
14
# File 'lib/umeng/client.rb', line 12

def plantform
  @plantform
end