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