Class: Gissuel::Issues

Inherits:
Object
  • Object
show all
Defined in:
lib/gissuel/issues.rb

Constant Summary collapse

TOKEN =
ENV["GITHUB_TOKEN"]

Instance Method Summary collapse

Constructor Details

#initialize(label, repo, verbose, index) ⇒ Issues

Returns a new instance of Issues.



6
7
8
9
10
11
12
# File 'lib/gissuel/issues.rb', line 6

def initialize(label, repo, verbose, index)
  @verbose  = verbose
  @label    = label
  @repo     = repo
  @state    = "open"
  @index    = index
end

Instance Method Details

#publishObject



14
15
16
# File 'lib/gissuel/issues.rb', line 14

def publish
  handle_issues(desired_issues)
end