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



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

def commit_id
    @payload['commit_id']
end

#diff_hunkObject



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

def diff_hunk
    @payload['diff_hunk']
end

#original_commit_idObject



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

def original_commit_id
    @payload['original_commit_id']
end

#original_positionObject



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

def original_position
    @payload['original_position']
end

#pathObject



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

def path
    @payload['path']
end

#positionObject



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

def position
    @payload['position']
end