Class: HornOfPlenty::Adapters::Github::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/horn_of_plenty/adapters/github/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



21
22
23
# File 'lib/horn_of_plenty/adapters/github/configuration.rb', line 21

def logger
  @logger
end

#tokenObject

Returns the value of attribute token.



21
22
23
# File 'lib/horn_of_plenty/adapters/github/configuration.rb', line 21

def token
  @token
end

Instance Method Details

#api_versionObject



28
29
30
# File 'lib/horn_of_plenty/adapters/github/configuration.rb', line 28

def api_version
  'inertia-preview'
end

#base_urlObject



24
25
26
# File 'lib/horn_of_plenty/adapters/github/configuration.rb', line 24

def base_url
  'https://api.github.com'
end