app/sms/bmc/sms/strategies/test.rb in bmc-1.0.1 vs app/sms/bmc/sms/strategies/test.rb in bmc-1.1.0
- old
+ new
@@ -1,10 +1,10 @@
-class BMC::SMS::Strategies::Test < BMC::SMS::Strategies::Base
+class BMC::SMS::Strategies::Test
def self.deliveries
@deliveries ||= []
end
- def call
+ def call(data)
self.class.deliveries << data
Rails.logger.info "New SMS sent : #{data.inspect}"
end
end