Class: HelpScout::Configuration
- Inherits:
-
Object
- Object
- HelpScout::Configuration
- Defined in:
- lib/help_scout/configuration.rb
Constant Summary collapse
- DEFAULT_CACHE_KEY =
'help_scout_token_cache'
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
-
#default_mailbox ⇒ Object
Returns the value of attribute default_mailbox.
-
#token_cache ⇒ Object
Returns the value of attribute token_cache.
- #token_cache_key ⇒ Object
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
5 6 7 |
# File 'lib/help_scout/configuration.rb', line 5 def app_id @app_id end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
5 6 7 |
# File 'lib/help_scout/configuration.rb', line 5 def app_secret @app_secret end |
#default_mailbox ⇒ Object
Returns the value of attribute default_mailbox.
5 6 7 |
# File 'lib/help_scout/configuration.rb', line 5 def default_mailbox @default_mailbox end |
#token_cache ⇒ Object
Returns the value of attribute token_cache.
5 6 7 |
# File 'lib/help_scout/configuration.rb', line 5 def token_cache @token_cache end |
#token_cache_key ⇒ Object
10 11 12 13 14 |
# File 'lib/help_scout/configuration.rb', line 10 def token_cache_key return @token_cache_key if defined?(@token_cache_key) @token_cache_key = DEFAULT_CACHE_KEY end |