Class: CaptainHook::DSL::HandlePostCommit
- Inherits:
-
Object
- Object
- CaptainHook::DSL::HandlePostCommit
- Includes:
- Base
- Defined in:
- lib/captain_hook/dsl/handle_post_commit.rb
Instance Method Summary collapse
- #author ⇒ Object
- #diff ⇒ Object
-
#initialize(event) ⇒ HandlePostCommit
constructor
A new instance of HandlePostCommit.
- #message ⇒ Object
- #ref_name ⇒ Object
Methods included from Base
Constructor Details
#initialize(event) ⇒ HandlePostCommit
Returns a new instance of HandlePostCommit.
6 7 8 |
# File 'lib/captain_hook/dsl/handle_post_commit.rb', line 6 def initialize(event) @event = event end |
Instance Method Details
#author ⇒ Object
14 15 16 |
# File 'lib/captain_hook/dsl/handle_post_commit.rb', line 14 def @event. end |
#diff ⇒ Object
18 19 20 |
# File 'lib/captain_hook/dsl/handle_post_commit.rb', line 18 def diff @event.diff end |
#message ⇒ Object
10 11 12 |
# File 'lib/captain_hook/dsl/handle_post_commit.rb', line 10 def @event. end |
#ref_name ⇒ Object
22 23 24 |
# File 'lib/captain_hook/dsl/handle_post_commit.rb', line 22 def ref_name @event.ref_name end |