class GHArchive::BasicIssue

Public Instance Methods

body() click to toggle source
# File lib/gh-archive/entities.rb, line 93
def body
    @payload['body']
end
closed_at() click to toggle source
# File lib/gh-archive/entities.rb, line 109
def closed_at
    Time.parse(@payload['closed_at']) rescue nil
end
created_at() click to toggle source
# File lib/gh-archive/entities.rb, line 101
def created_at
    Time.parse(@payload['created_at'])
end
id() click to toggle source
# File lib/gh-archive/entities.rb, line 73
def id
    @payload['id']
end
locked() click to toggle source
# File lib/gh-archive/entities.rb, line 85
def locked
    @payload['locked']
end
number() click to toggle source
# File lib/gh-archive/entities.rb, line 77
def number
    @payload['number']
end
state() click to toggle source
# File lib/gh-archive/entities.rb, line 81
def state
    @payload['state']
end
title() click to toggle source
# File lib/gh-archive/entities.rb, line 89
def title
    @payload['title']
end
updated_at() click to toggle source
# File lib/gh-archive/entities.rb, line 105
def updated_at
    Time.parse(@payload['updated_at']) rescue nil
end
url() click to toggle source
# File lib/gh-archive/entities.rb, line 69
def url
    @payload['url']
end
user() click to toggle source
# File lib/gh-archive/entities.rb, line 97
def user
    User.new(@payload['user']) rescue nil
end