Class: WeixinRailsMiddleware::Configuration
- Inherits:
-
Object
- Object
- WeixinRailsMiddleware::Configuration
- Defined in:
- lib/weixin_rails_middleware/configuration.rb
Instance Attribute Summary collapse
-
#public_account_class ⇒ Object
use ‘public_account_class’: if the token is saved in SomeModel, then find token by it use ‘weixin_token’: if the token is a String, just use it,.
-
#weixin_secret_string ⇒ Object
use ‘public_account_class’: if the token is saved in SomeModel, then find token by it use ‘weixin_token’: if the token is a String, just use it,.
-
#weixin_token_string ⇒ Object
use ‘public_account_class’: if the token is saved in SomeModel, then find token by it use ‘weixin_token’: if the token is a String, just use it,.
Instance Attribute Details
#public_account_class ⇒ Object
use ‘public_account_class’: if the token is saved in SomeModel, then find token by it use ‘weixin_token’: if the token is a String, just use it,
20 21 22 |
# File 'lib/weixin_rails_middleware/configuration.rb', line 20 def public_account_class @public_account_class end |
#weixin_secret_string ⇒ Object
use ‘public_account_class’: if the token is saved in SomeModel, then find token by it use ‘weixin_token’: if the token is a String, just use it,
20 21 22 |
# File 'lib/weixin_rails_middleware/configuration.rb', line 20 def weixin_secret_string @weixin_secret_string end |
#weixin_token_string ⇒ Object
use ‘public_account_class’: if the token is saved in SomeModel, then find token by it use ‘weixin_token’: if the token is a String, just use it,
20 21 22 |
# File 'lib/weixin_rails_middleware/configuration.rb', line 20 def weixin_token_string @weixin_token_string end |