Class: TwilioBase::Routers::Voice::TaskRouter
- Defined in:
- app/services/twilio_base/routers/voice/task_router.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from TwilioBase::Routers::Voice::Base
Instance Method Details
#route ⇒ Object
7 8 9 10 11 12 |
# File 'app/services/twilio_base/routers/voice/task_router.rb', line 7 def route yield_response = yield if block_given? (yield_response || voice_response).enqueue(enqueue_params) do |e| e.task task_attributes end.to_s end |