class MineShipper::GitHub::Comment

Attributes

body[R]
created_at[R]
tracker[R]
updated_at[R]
url[R]
user[R]

Public Class Methods

new(comment) click to toggle source
# File lib/mine-shipper/github.rb, line 60
def initialize(comment)
  @comment = comment
  @tracker = "GitHub"
  @created_at = @comment.created_at
  @updated_at = @comment.updated_at
  @url = @comment.html_url
  @usr = @comment.user.login
  @body = @comment.body.gsub(/\R/, "\n")
end