Module: Compass::Configuration::Client
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/compass/configuration/client.rb
Instance Method Summary collapse
-
#auth_expires_at ⇒ Proc
Proc to determine the authentication expiration time.
-
#auth_token ⇒ Proc
Authentication configuration.
Instance Method Details
#auth_expires_at ⇒ Proc
Proc to determine the authentication expiration time.
23 |
# File 'lib/compass/configuration/client.rb', line 23 config_accessor :auth_expires_at, default: ->(**) { } |
#auth_token ⇒ Proc
Authentication configuration
I.e.:
config.client.auth_token = -> { "1234567890" }
config.client.auth_expires_at = -> { 1.hour.from_now }
19 |
# File 'lib/compass/configuration/client.rb', line 19 config_accessor :auth_token, default: ->(**) { } |