Class: Umengo::Client

Inherits:
Object
  • Object
show all
Includes:
Req
Defined in:
lib/umengo/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Req

#broadcast, #listcast, #unicast

Methods included from Service

#cancel, #push, #status

Methods included from Util

#generate_sign, #perform

Constructor Details

#initialize(appkey, app_master_secret, plantform) ⇒ Client

Returns a new instance of Client.



13
14
15
16
17
# File 'lib/umengo/client.rb', line 13

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.



11
12
13
# File 'lib/umengo/client.rb', line 11

def app_master_secretm
  @app_master_secretm
end

#appkeyObject

Returns the value of attribute appkey.



11
12
13
# File 'lib/umengo/client.rb', line 11

def appkey
  @appkey
end

#plantformObject

Returns the value of attribute plantform.



11
12
13
# File 'lib/umengo/client.rb', line 11

def plantform
  @plantform
end