Module: RongCloud::Configuration::ModuleMethods
- Included in:
- RongCloud::Configuration
- Defined in:
- lib/rong_cloud/configuration.rb
Instance Attribute Summary collapse
-
#app_key ⇒ Object
Returns the value of attribute app_key.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
- #debug_mode ⇒ Object
-
#host ⇒ Object
Fetch the api host, the default is: api.cn.ronghub.com.
- #timeout ⇒ Object
Instance Attribute Details
#app_key ⇒ Object
Returns the value of attribute app_key.
13 14 15 |
# File 'lib/rong_cloud/configuration.rb', line 13 def app_key @app_key end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
13 14 15 |
# File 'lib/rong_cloud/configuration.rb', line 13 def app_secret @app_secret end |
#debug_mode ⇒ Object
26 27 28 |
# File 'lib/rong_cloud/configuration.rb', line 26 def debug_mode @debug_mode || DEFAULT_DEBUG_MODE end |
#host ⇒ Object
Fetch the api host, the default is: api.cn.ronghub.com
18 19 20 |
# File 'lib/rong_cloud/configuration.rb', line 18 def host @host || DEFAULT_HOST end |
#timeout ⇒ Object
22 23 24 |
# File 'lib/rong_cloud/configuration.rb', line 22 def timeout @timeout || DEFAULT_TIMEOUT end |