Class: GemChangelogDiff::Configuration
- Inherits:
-
Object
- Object
- GemChangelogDiff::Configuration
- Defined in:
- lib/gem_changelog_diff/configuration.rb
Instance Attribute Summary collapse
-
#cache_enabled ⇒ Object
Returns the value of attribute cache_enabled.
-
#cache_ttl ⇒ Object
Returns the value of attribute cache_ttl.
-
#github_token ⇒ Object
Returns the value of attribute github_token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/gem_changelog_diff/configuration.rb', line 7 def initialize @cache_enabled = true @cache_ttl = 86_400 end |
Instance Attribute Details
#cache_enabled ⇒ Object
Returns the value of attribute cache_enabled.
5 6 7 |
# File 'lib/gem_changelog_diff/configuration.rb', line 5 def cache_enabled @cache_enabled end |
#cache_ttl ⇒ Object
Returns the value of attribute cache_ttl.
5 6 7 |
# File 'lib/gem_changelog_diff/configuration.rb', line 5 def cache_ttl @cache_ttl end |
#github_token ⇒ Object
Returns the value of attribute github_token.
5 6 7 |
# File 'lib/gem_changelog_diff/configuration.rb', line 5 def github_token @github_token end |