Class: GHArchive::PullRequest
Instance Method Summary
collapse
Methods inherited from BasicIssue
#body, #closed_at, #created_at, #id, #locked, #number, #state, #title, #updated_at, #url, #user
Methods inherited from Entity
#initialize
Instance Method Details
#additions ⇒ Object
152
153
154
|
# File 'lib/gh-archive/entities.rb', line 152
def additions
@payload['additions']
end
|
#base ⇒ Object
168
169
170
|
# File 'lib/gh-archive/entities.rb', line 168
def base
@payload['base']
end
|
#changed_files ⇒ Object
160
161
162
|
# File 'lib/gh-archive/entities.rb', line 160
def changed_files
@payload['changed_files']
end
|
140
141
142
|
# File 'lib/gh-archive/entities.rb', line 140
def
@payload['comments']
end
|
#commits ⇒ Object
148
149
150
|
# File 'lib/gh-archive/entities.rb', line 148
def commits
@payload['commits']
end
|
#deletions ⇒ Object
156
157
158
|
# File 'lib/gh-archive/entities.rb', line 156
def deletions
@payload['deletions']
end
|
#head ⇒ Object
164
165
166
|
# File 'lib/gh-archive/entities.rb', line 164
def head
@payload['head']
end
|
#merge_commit_sha ⇒ Object
120
121
122
|
# File 'lib/gh-archive/entities.rb', line 120
def merge_commit_sha
@payload['merge_commit_sha']
end
|
#mergeable ⇒ Object
128
129
130
|
# File 'lib/gh-archive/entities.rb', line 128
def mergeable
@payload['mergeable']
end
|
#mergeable_state ⇒ Object
132
133
134
|
# File 'lib/gh-archive/entities.rb', line 132
def mergeable_state
@payload['mergeable_state']
end
|
#merged ⇒ Object
124
125
126
|
# File 'lib/gh-archive/entities.rb', line 124
def merged
@payload['merged']
end
|
#merged_at ⇒ Object
116
117
118
|
# File 'lib/gh-archive/entities.rb', line 116
def merged_at
Time.parse(@payload['merged_at']) rescue nil
end
|
#merged_by ⇒ Object
136
137
138
|
# File 'lib/gh-archive/entities.rb', line 136
def merged_by
@payload['merged_by']
end
|
144
145
146
|
# File 'lib/gh-archive/entities.rb', line 144
def
@payload['review_comments']
end
|