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