Sha256: 4c1b2008b3e3fbe8e41e3a6f2b6a0a3d2576fe9e452ab09afb6a2d3a00583e1b

Contents?: true

Size: 562 Bytes

Versions: 19

Compression:

Stored size: 562 Bytes

Contents

module Smess
  class Test < Output

    @@instance = nil
    @delivery_result = {
      :response_code => '-1',
      :response  => {
        :temporaryError =>'true',
        :responseCode => '-1',
        :responseText => 'No delivery result set in test output object.'
      }
    }
    class << self; attr_accessor :delivery_result end

    def initialize(config)
      super
      @@instance = self
    end

    def self.instance
      @@instance
    end

    def validate_config
    end

    def deliver
      self.class.delivery_result
    end

  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
smess-3.3.0 lib/smess/outputs/test.rb
smess-3.2.0 lib/smess/outputs/test.rb
smess-3.1.2 lib/smess/outputs/test.rb
smess-3.1.1 lib/smess/outputs/test.rb
smess-3.1.0 lib/smess/outputs/test.rb
smess-3.0.0 lib/smess/outputs/test.rb
smess-2.3.0 lib/smess/outputs/test.rb
smess-2.2.1 lib/smess/outputs/test.rb
smess-2.2.0 lib/smess/outputs/test.rb
smess-2.1.0 lib/smess/outputs/test.rb
smess-2.0.8 lib/smess/outputs/test.rb
smess-2.0.7 lib/smess/outputs/test.rb
smess-2.0.6 lib/smess/outputs/test.rb
smess-2.0.5 lib/smess/outputs/test.rb
smess-2.0.4 lib/smess/outputs/test.rb
smess-2.0.3 lib/smess/outputs/test.rb
smess-2.0.2 lib/smess/outputs/test.rb
smess-2.0.1 lib/smess/outputs/test.rb
smess-2.0 lib/smess/outputs/test.rb