Class: GemChangelogDiff::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_enabledObject

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_ttlObject

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_tokenObject

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