Class: Octogate::GH::Issue

Inherits:
Model
  • Object
show all
Defined in:
lib/octogate/gh/issue.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Issue

Returns a new instance of Issue.



8
9
10
11
12
13
# File 'lib/octogate/gh/issue.rb', line 8

def initialize(*args)
  super
  self.labels = labels.nil? ? [] : labels.map do |l|
    GH::Label.new(l)
  end
end