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



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

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