You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This breaks when using SmsSpec because the return value of the new monkeypatched Twilio::REST::Client::Messages#create method is an array, not a response object as twilio-ruby normally provides.
The fix will be to create a twilio-ruby response object that mimics a successful send.
If I find time in the next couple of days I'll take a stab at this. Otherwise if you haven't seen anything from me by, say, June 29, 2013 then that means I forgot about this.
The text was updated successfully, but these errors were encountered:
I have code like the following in my project:
This breaks when using SmsSpec because the return value of the new monkeypatched Twilio::REST::Client::Messages#create method is an array, not a response object as twilio-ruby normally provides.
The fix will be to create a twilio-ruby response object that mimics a successful send.
If I find time in the next couple of days I'll take a stab at this. Otherwise if you haven't seen anything from me by, say, June 29, 2013 then that means I forgot about this.
The text was updated successfully, but these errors were encountered: