Class: Txgh::Hooks
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Txgh::Hooks
- Includes:
- Handlers
- Defined in:
- lib/txgh/app.rb
Overview
Hooks are protected endpoints used for data integration between Github and Transifex. They live under the /hooks namespace (see config.ru)
Instance Method Summary collapse
-
#initialize(app = nil) ⇒ Hooks
constructor
A new instance of Hooks.
Constructor Details
#initialize(app = nil) ⇒ Hooks
Returns a new instance of Hooks.
93 94 95 |
# File 'lib/txgh/app.rb', line 93 def initialize(app = nil) super(app) end |