Method: CaptainHook::Events::PostCommit#commit

Defined in:
lib/captain_hook/events/post_commit.rb

#commitObject

The represents the git commit object in question



9
10
11
# File 'lib/captain_hook/events/post_commit.rb', line 9

def commit
  @commit ||= @repo.commit(@repo.head.commit)
end