Sha256: f110e8f4964848bd87e9be65ad0f0521f128b5080b25319ce651855ee0753c18

Contents?: true

Size: 499 Bytes

Versions: 25

Compression:

Stored size: 499 Bytes

Contents

require 'apps/messenger/lib/sms_backend'

module Spider; module Messenger; module Backends; module SMS
    
    module Test
        include Messenger::SMSBackend

        def self.sent_sms
            @sent_sms ||= []
        end

        def self.after_test
            @sent_sms = []
        end
        
        def self.send_message(msg)
            Spider.logger.debug("Sending SMS #{msg.ticket}")
            self.sent_sms << msg
        end
        

        
    end
    
end; end; end; end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
spiderfw-1.0.1 apps/messenger/backends/sms/test.rb
spiderfw-1.0.0 apps/messenger/backends/sms/test.rb
spiderfw-0.6.39 apps/messenger/backends/sms/test.rb
spiderfw-0.6.38 apps/messenger/backends/sms/test.rb
spiderfw-0.6.37 apps/messenger/backends/sms/test.rb
spiderfw-0.6.35 apps/messenger/backends/sms/test.rb
spiderfw-0.6.34 apps/messenger/backends/sms/test.rb
spiderfw-0.6.33 apps/messenger/backends/sms/test.rb
spiderfw-0.6.32 apps/messenger/backends/sms/test.rb
spiderfw-0.6.31 apps/messenger/backends/sms/test.rb
spiderfw-0.6.30 apps/messenger/backends/sms/test.rb
spiderfw-0.6.29 apps/messenger/backends/sms/test.rb
spiderfw-0.6.28 apps/messenger/backends/sms/test.rb
spiderfw-0.6.27 apps/messenger/backends/sms/test.rb
spiderfw-0.6.26 apps/messenger/backends/sms/test.rb
spiderfw-0.6.26.pre1 apps/messenger/backends/sms/test.rb
spiderfw-0.6.25 apps/messenger/backends/sms/test.rb
spiderfw-0.6.24 apps/messenger/backends/sms/test.rb
spiderfw-0.6.23 apps/messenger/backends/sms/test.rb
spiderfw-0.6.22 apps/messenger/backends/sms/test.rb