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
151
152
153
|
# File 'lib/gh-archive/entities.rb', line 151
def additions
@payload['additions']
end
|
#base ⇒ Object
167
168
169
|
# File 'lib/gh-archive/entities.rb', line 167
def base
@payload['base']
end
|
#changed_files ⇒ Object
159
160
161
|
# File 'lib/gh-archive/entities.rb', line 159
def changed_files
@payload['changed_files']
end
|
139
140
141
|
# File 'lib/gh-archive/entities.rb', line 139
def
@payload['comments']
end
|
#commits ⇒ Object
147
148
149
|
# File 'lib/gh-archive/entities.rb', line 147
def commits
@payload['commits']
end
|
#deletions ⇒ Object
155
156
157
|
# File 'lib/gh-archive/entities.rb', line 155
def deletions
@payload['deletions']
end
|
#head ⇒ Object
163
164
165
|
# File 'lib/gh-archive/entities.rb', line 163
def head
@payload['head']
end
|
#merge_commit_sha ⇒ Object
119
120
121
|
# File 'lib/gh-archive/entities.rb', line 119
def merge_commit_sha
@payload['merge_commit_sha']
end
|
#mergeable ⇒ Object
127
128
129
|
# File 'lib/gh-archive/entities.rb', line 127
def mergeable
@payload['mergeable']
end
|
#mergeable_state ⇒ Object
131
132
133
|
# File 'lib/gh-archive/entities.rb', line 131
def mergeable_state
@payload['mergeable_state']
end
|
#merged ⇒ Object
123
124
125
|
# File 'lib/gh-archive/entities.rb', line 123
def merged
@payload['merged']
end
|
#merged_at ⇒ Object
115
116
117
|
# File 'lib/gh-archive/entities.rb', line 115
def merged_at
Time.parse(@payload['merged_at']) rescue nil
end
|
#merged_by ⇒ Object
135
136
137
|
# File 'lib/gh-archive/entities.rb', line 135
def merged_by
@payload['merged_by']
end
|
143
144
145
|
# File 'lib/gh-archive/entities.rb', line 143
def
@payload['review_comments']
end
|