lib/trails/twilio/incoming.rb in trails-1.1.4 vs lib/trails/twilio/incoming.rb in trails-1.1.5
- old
+ new
@@ -13,9 +13,13 @@
def is_sms?
!sms_message_sid.blank?
end
+ def complete?
+ 'completed' == self.call_status.downcase
+ end
+
protected
attr_reader :request
INCOMING_VARS = [
# Always available: