Class: Txgh::Handlers::Github::PingHandler
- Inherits:
-
Object
- Object
- Txgh::Handlers::Github::PingHandler
- Includes:
- ResponseHelpers
- Defined in:
- lib/txgh/handlers/github/ping_handler.rb
Overview
Handles github’s ping event, which is a test event fired whenever a new webhook is set up.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options = {}) ⇒ PingHandler
constructor
A new instance of PingHandler.
Constructor Details
#initialize(options = {}) ⇒ PingHandler
Returns a new instance of PingHandler.
9 10 |
# File 'lib/txgh/handlers/github/ping_handler.rb', line 9 def initialize( = {}) end |
Instance Method Details
#execute ⇒ Object
12 13 14 |
# File 'lib/txgh/handlers/github/ping_handler.rb', line 12 def execute respond_with(200, {}) end |