Class: GHArchive::PullRequestComment

Inherits:
BasicComment show all
Defined in:
lib/gh-archive/entities.rb

Instance Method Summary collapse

Methods inherited from BasicComment

#body, #created_at, #id, #updated_at, #url, #user

Methods inherited from Entity

#initialize

Constructor Details

This class inherits a constructor from GHArchive::Entity

Instance Method Details

#commit_idObject



221
222
223
# File 'lib/gh-archive/entities.rb', line 221

def commit_id
    @payload['commit_id']
end

#diff_hunkObject



205
206
207
# File 'lib/gh-archive/entities.rb', line 205

def diff_hunk
    @payload['diff_hunk']
end

#original_commit_idObject



225
226
227
# File 'lib/gh-archive/entities.rb', line 225

def original_commit_id
    @payload['original_commit_id']
end

#original_positionObject



217
218
219
# File 'lib/gh-archive/entities.rb', line 217

def original_position
    @payload['original_position']
end

#pathObject



209
210
211
# File 'lib/gh-archive/entities.rb', line 209

def path
    @payload['path']
end

#positionObject



213
214
215
# File 'lib/gh-archive/entities.rb', line 213

def position
    @payload['position']
end