Class: Denglu::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/denglu/config.rb

Class Attribute Summary collapse

Class Attribute Details

.app_idObject

Returns the value of attribute app_id.



8
9
10
# File 'lib/denglu/config.rb', line 8

def app_id
  @app_id
end

.app_keyObject

Returns the value of attribute app_key.



8
9
10
# File 'lib/denglu/config.rb', line 8

def app_key
  @app_key
end

.hostObject

Denglu api host, default to open.denglu.cc



20
21
22
# File 'lib/denglu/config.rb', line 20

def host
  @host
end

.sign_typeObject

Denglu api rquest sign method, only support md5



30
31
32
# File 'lib/denglu/config.rb', line 30

def sign_type
  @sign_type
end

.versionObject

Denglu api version, no used now



25
26
27
# File 'lib/denglu/config.rb', line 25

def version
  @version
end