Class: GHArchive::Commit
Instance Method Summary
collapse
Methods inherited from Entity
#initialize
Instance Method Details
#author ⇒ Object
19
20
21
22
23
24
|
# File 'lib/gh-archive/entities.rb', line 19
def author
CommitAuthor.new(
@payload['author']['email'],
@payload['author']['name']
)
end
|
#distinct ⇒ Object
30
31
32
|
# File 'lib/gh-archive/entities.rb', line 30
def distinct
@payload['distinct']
end
|
#message ⇒ Object
26
27
28
|
# File 'lib/gh-archive/entities.rb', line 26
def message
@payload['message']
end
|
#sha ⇒ Object
15
16
17
|
# File 'lib/gh-archive/entities.rb', line 15
def sha
@payload['sha']
end
|
#url ⇒ Object
34
35
36
|
# File 'lib/gh-archive/entities.rb', line 34
def url
@payload['url']
end
|