Module: BugsOnHub::Issue

Defined in:
lib/bugs_on_hub.rb

Class Method Summary collapse

Class Method Details

.create(title, body) ⇒ Object



20
21
22
23
# File 'lib/bugs_on_hub.rb', line 20

def create(title, body)
  github = Octokit::Client.new(:login => Config., :password => Config.pass)
  github.create_issue(Config.repo, title, body)
end