Class: Wechat::Qcloud::Setting
- Inherits:
-
Object
- Object
- Wechat::Qcloud::Setting
- Defined in:
- lib/wechat/qcloud/setting.rb
Instance Attribute Summary collapse
-
#qcloud_env ⇒ Object
readonly
Returns the value of attribute qcloud_env.
-
#qcloud_token ⇒ Object
readonly
Returns the value of attribute qcloud_token.
-
#qcloud_token_lifespan ⇒ Object
readonly
Returns the value of attribute qcloud_token_lifespan.
Instance Method Summary collapse
-
#initialize(qcloud_env, qcloud_token, qcloud_token_lifespan) ⇒ Setting
constructor
A new instance of Setting.
Constructor Details
#initialize(qcloud_env, qcloud_token, qcloud_token_lifespan) ⇒ Setting
Returns a new instance of Setting.
8 9 10 11 12 |
# File 'lib/wechat/qcloud/setting.rb', line 8 def initialize(qcloud_env, qcloud_token, qcloud_token_lifespan) @qcloud_env = qcloud_env @qcloud_token = qcloud_token @qcloud_token_lifespan = qcloud_token_lifespan end |
Instance Attribute Details
#qcloud_env ⇒ Object (readonly)
Returns the value of attribute qcloud_env.
6 7 8 |
# File 'lib/wechat/qcloud/setting.rb', line 6 def qcloud_env @qcloud_env end |
#qcloud_token ⇒ Object (readonly)
Returns the value of attribute qcloud_token.
6 7 8 |
# File 'lib/wechat/qcloud/setting.rb', line 6 def qcloud_token @qcloud_token end |
#qcloud_token_lifespan ⇒ Object (readonly)
Returns the value of attribute qcloud_token_lifespan.
6 7 8 |
# File 'lib/wechat/qcloud/setting.rb', line 6 def qcloud_token_lifespan @qcloud_token_lifespan end |