Class: CalInvite::Configuration
- Inherits:
-
Object
- Object
- CalInvite::Configuration
- Defined in:
- lib/cal_invite/configuration.rb
Instance Attribute Summary collapse
-
#cache_expires_in ⇒ Object
Returns the value of attribute cache_expires_in.
-
#cache_prefix ⇒ Object
Returns the value of attribute cache_prefix.
-
#cache_store ⇒ Object
Returns the value of attribute cache_store.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
-
#webhook_secret ⇒ Object
Returns the value of attribute webhook_secret.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Initializes a new Configuration instance with default values.
Constructor Details
#initialize ⇒ Configuration
Initializes a new Configuration instance with default values.
17 18 19 20 21 22 23 |
# File 'lib/cal_invite/configuration.rb', line 17 def initialize @cache_store = nil @cache_prefix = 'cal_invite' @cache_expires_in = 24.hours # now this will work with active_support loaded @webhook_secret = nil @timezone = 'UTC' end |
Instance Attribute Details
#cache_expires_in ⇒ Object
Returns the value of attribute cache_expires_in.
14 15 16 |
# File 'lib/cal_invite/configuration.rb', line 14 def cache_expires_in @cache_expires_in end |
#cache_prefix ⇒ Object
Returns the value of attribute cache_prefix.
14 15 16 |
# File 'lib/cal_invite/configuration.rb', line 14 def cache_prefix @cache_prefix end |
#cache_store ⇒ Object
Returns the value of attribute cache_store.
14 15 16 |
# File 'lib/cal_invite/configuration.rb', line 14 def cache_store @cache_store end |
#timezone ⇒ Object
Returns the value of attribute timezone.
14 15 16 |
# File 'lib/cal_invite/configuration.rb', line 14 def timezone @timezone end |
#webhook_secret ⇒ Object
Returns the value of attribute webhook_secret.
14 15 16 |
# File 'lib/cal_invite/configuration.rb', line 14 def webhook_secret @webhook_secret end |