Class: TxghServer::WebhookEndpoints

Inherits:
Sinatra::Base
  • Object
show all
Includes:
Webhooks
Defined in:
lib/txgh-server/application.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) ⇒ WebhookEndpoints

Returns a new instance of WebhookEndpoints.



96
97
98
# File 'lib/txgh-server/application.rb', line 96

def initialize(app = nil)
  super(app)
end