Module: Aissue

Defined in:
lib/aissue.rb,
lib/aissue/cli.rb,
lib/aissue/issue.rb,
lib/aissue/helper.rb,
lib/aissue/version.rb

Defined Under Namespace

Modules: Helper Classes: CLI, Error, Issue

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.clientObject



10
11
12
# File 'lib/aissue/helper.rb', line 10

def client
  @client ||= Octokit::Client.new(access_token: ENV['GITHUB_TOKEN'])
end

.repositoryObject



14
15
16
# File 'lib/aissue/helper.rb', line 14

def repository
  ENV['GITHUB_OWNER'] + '/' + ENV['REPOSITORY']
end