lib/action_smser.rb in action_smser-1.1.1 vs lib/action_smser.rb in action_smser-1.2.0

- old
+ new

@@ -6,10 +6,10 @@ require "action_smser/delivery_methods/nexmo" module ActionSmser mattr_accessor :delivery_options - self.delivery_options= {:delivery_method => :test_array, :save_delivery_reports => false} + self.delivery_options= {:delivery_method => :test_array, :save_delivery_reports => false, :default_ttl => (24*60*60) } self.delivery_options[:gateway_commit] = {} self.delivery_options[:gateway_commit_observers] = [] def self.gateway_commit_observer_add(observer_class) self.delivery_options[:gateway_commit_observers].push(observer_class)