Module: Octofart

Extended by:
SingletonClass, SingleForwardable
Defined in:
lib/octofart.rb,
lib/octofart/client.rb,
lib/octofart/config.rb,
lib/octofart/version.rb,
lib/octofart/workflow.rb,
lib/octofart/task_runner.rb,
lib/octofart/tasks/commits.rb,
lib/octofart/singleton_class.rb,
lib/octofart/tasks/update_file.rb,
lib/octofart/tasks/data_mapping.rb,
lib/octofart/tasks/pull_request.rb,
lib/octofart/tasks/create_branch.rb,
lib/octofart/tasks/branch_mapping.rb

Defined Under Namespace

Modules: SingletonClass, TaskRunner, Tasks Classes: Client, Config, Workflow

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Methods included from SingletonClass

workflow

Class Method Details

.clientObject



23
24
25
26
27
28
# File 'lib/octofart.rb', line 23

def self.client
  @client ||= Client.new(
     max_retries: max_retries,
    access_token: github_token,
  )
end

.configure {|config| ... } ⇒ Object

Yields:

  • (config)


30
31
32
# File 'lib/octofart.rb', line 30

def self.configure(&blk)
  yield(config)
end