Class: Txgh::Hooks

Inherits:
Sinatra::Base
  • Object
show all
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

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