module RepoForker::Configuration

Constants

DEFAULT_API_KEY
DEFAULT_DESTINATION
DEFAULT_ENDPOINT
DEFAULT_SOURCE
DEFAULT_USER_AGENT
VALID_CONFIG_KEYS
VALID_CONNECTION_KEYS
VALID_OPTIONS_KEYS

Public Class Methods

extended(base) click to toggle source
# File lib/repo_forker/configuration.rb, line 3
def self.extended(base)
  base.reset
end

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/repo_forker/configuration.rb, line 20
def configure
  yield self if block_given?
end
reset() click to toggle source
# File lib/repo_forker/configuration.rb, line 24
def reset
  self.endpoint = DEFAULT_ENDPOINT
  self.user_agent = DEFAULT_USER_AGENT
  self.api_key = DEFAULT_API_KEY
  self.source = DEFAULT_SOURCE
  self.destination = DEFAULT_DESTINATION
end