Sha256: 55b2711f5ef936e5251d4ed1d9b8fde7ce82405103f990814e7eac9445054cf4

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

module Eddy
  module TransactionSets
    # Namespace for Transaction Set 850 and its loops.
    module TS850
      module Loops

        # ### Loop Summary:
        #
        # - Repeat: 200
        # - Components:
        #   - N1
        #   - N3
        #   - N4
        class N1 < Eddy::Loop::Base
          # @param store [Eddy::Data::Store]
          # @return [void]
          def initialize(store)
            super(store)
            @repeat= 200
            @components = [
              Eddy::Segments::N1,
              Eddy::Segments::N3,
              Eddy::Segments::N4,
            ]
          end

          # @!method add_iteration(&block)
          #   @yieldparam [Eddy::Segments::N1] n1
          #   @yieldparam [Eddy::Segments::N3] n3
          #   @yieldparam [Eddy::Segments::N4] n4
          #   @return [void]
        end

        # ### Loop Summary:
        #
        # - Repeat: 100,000
        # - Components:
        #   - PO1
        class PO1 < Eddy::Loop::Base
          # @param store [Eddy::Data::Store]
          # @return [void]
          def initialize(store)
            super(store)
            @repeat = 100_000
            @components = [
              Eddy::Segments::PO1,
            ]
          end

          # @!method add_iteration(&block)
          #   @yieldparam [Eddy::Segments::PO1] po1
          #   @return [void]
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.5.1 lib/definitions/transaction_sets/manual/850/loops.rb
eddy-0.5.0 lib/definitions/transaction_sets/manual/850/loops.rb
eddy-0.4.0 lib/definitions/transaction_sets/manual/850/loops.rb
eddy-0.3.0 lib/definitions/transaction_sets/manual/850/loops.rb