Class: Twilio::Rails::SMS::FindOperation

Inherits:
ApplicationOperation show all
Defined in:
app/operations/twilio/rails/sms/find_operation.rb

Overview

Called by Twilio::Rails::SMSController with the Twilio params to find an existing SMS conversation.

Instance Method Summary collapse

Instance Method Details

#executeObject



10
11
12
# File 'app/operations/twilio/rails/sms/find_operation.rb', line 10

def execute
  ::Twilio::Rails.config.sms_conversation_class.find(sms_conversation_id)
end