Class: Denglu::Config
- Inherits:
-
Object
- Object
- Denglu::Config
- Defined in:
- lib/denglu/config.rb
Class Attribute Summary collapse
-
.app_id ⇒ Object
Returns the value of attribute app_id.
-
.app_key ⇒ Object
Returns the value of attribute app_key.
-
.host ⇒ Object
Denglu api host, default to open.denglu.cc.
-
.sign_type ⇒ Object
Denglu api rquest sign method, only support md5.
-
.version ⇒ Object
Denglu api version, no used now.
Class Attribute Details
.app_id ⇒ Object
Returns the value of attribute app_id.
8 9 10 |
# File 'lib/denglu/config.rb', line 8 def app_id @app_id end |
.app_key ⇒ Object
Returns the value of attribute app_key.
8 9 10 |
# File 'lib/denglu/config.rb', line 8 def app_key @app_key end |
.host ⇒ Object
Denglu api host, default to open.denglu.cc
20 21 22 |
# File 'lib/denglu/config.rb', line 20 def host @host end |
.sign_type ⇒ Object
Denglu api rquest sign method, only support md5
30 31 32 |
# File 'lib/denglu/config.rb', line 30 def sign_type @sign_type end |
.version ⇒ Object
Denglu api version, no used now
25 26 27 |
# File 'lib/denglu/config.rb', line 25 def version @version end |