Sha256: 256db5a9481f2667d624a8a7aff56a85c90890f6ebd9eb9fed584e2bdcc82970

Contents?: true

Size: 343 Bytes

Versions: 7

Compression:

Stored size: 343 Bytes

Contents

module TalonOne
  module Integration
    class Effect
      def initialize(raw_array)
        @campaign_id = raw_array[0]
        @ruleset_id = raw_array[1]
        @ruleset_index = raw_array[2]
        @raw = raw_array[3]
      end

      def function
        @raw[0]
      end

      def args
        @raw[1..-1]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
talon_one-0.1.0 lib/integration/effect.rb
talon_one-0.0.10 lib/integration/effect.rb
talon_one-0.0.9 lib/integration/effect.rb
talon_one-0.0.8 lib/integration/effect.rb
talon_one-0.0.7 lib/integration/effect.rb
talon_one-0.0.6 lib/integration/effect.rb
talon_one-0.0.5 lib/integration/effect.rb