lib/trails/twilio/incoming.rb in trails-1.1.0 vs lib/trails/twilio/incoming.rb in trails-1.1.1
- old
+ new
@@ -8,10 +8,10 @@
end
protected
attr_reader :request
def twilio_data
- @twilio_data ||= requests.params.slice( INCOMING_VARS ).dup
+ @twilio_data ||= request.params.slice( INCOMING_VARS ).dup
end
INCOMING_VARS = [
# Always available:
'CallGuid', # A unique identifier for this call, generated by Twilio. It's 34 characters long, and always starts with the letters CA.