Class: Hyrb::Tasks::Github::Repos

Inherits:
Hyrb::Task show all
Defined in:
lib/hyrb/tasks/github.rb

Instance Attribute Summary

Attributes inherited from Hyrb::Task

#env, #pipeline

Instance Method Summary collapse

Methods inherited from Hyrb::Task

depends, #initialize, prompt, prompts, #run_before

Constructor Details

This class inherits a constructor from Hyrb::Task

Instance Method Details

#run(env) ⇒ Object



27
28
29
# File 'lib/hyrb/tasks/github.rb', line 27

def run(env)
  env.github_repos = env.github_client.org_repos(per_page: 100, org: env.creds.github_org)
end