Class: HubLink::Configuration
- Inherits:
-
Object
- Object
- HubLink::Configuration
- Defined in:
- lib/hub_link/configuration.rb
Constant Summary collapse
- RETRY_ON =
Faraday::Request::Retry::DEFAULT_EXCEPTIONS + [Octokit::BadGateway, Octokit::TooManyRequests]
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
12 13 14 15 16 |
# File 'lib/hub_link/configuration.rb', line 12 def initialize self.logger = SimpleLogger.new Octokit.middleware = middleware Octokit.auto_paginate = false end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
10 11 12 |
# File 'lib/hub_link/configuration.rb', line 10 def logger @logger end |