class MineShipper::GitHub::Issue
Attributes
comments[R]
Public Class Methods
new(client, project_name, issue_id)
click to toggle source
# File lib/mine-shipper/github.rb, line 34 def initialize(client, project_name, issue_id) @project_name = project_name @issue_id = issue_id @issue = client.issue(@project_name, @issue_id) @comments = [Comment.new(@issue)] comments = client.issue_comments(@project_name, @issue_id) comments.each do |comment| @comments << Comment.new(comment) end end
Public Instance Methods
identifier()
click to toggle source
# File lib/mine-shipper/github.rb, line 49 def identifier "#{@project_name}#{@issue_id}" end
title()
click to toggle source
# File lib/mine-shipper/github.rb, line 53 def title @issue.title end
tracker()
click to toggle source
# File lib/mine-shipper/github.rb, line 45 def tracker "GitHub" end