Module: CloudConvert::Webhook::Processor
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/cloudconvert/webhook/processor.rb
Constant Summary collapse
- UnspecifiedSecret =
Raised when the webhook_secret has not been supplied
Class.new(CloudConvert::Webhook::Error)
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
12 13 14 15 16 17 |
# File 'lib/cloudconvert/webhook/processor.rb', line 12 def create method = event.name.gsub(".", "_") raise NoMethodError.new("#{self.class.name}##{method} not implemented") unless respond_to?(method, true) send(method, event) head(:ok) end |