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.



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

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