Class: HelpScout::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/help_scout/configuration.rb

Constant Summary collapse

DEFAULT_CACHE_KEY =
'help_scout_token_cache'

Instance Attribute Summary collapse

Instance Attribute Details

#app_idObject

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_secretObject

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_mailboxObject

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_cacheObject

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_keyObject



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