Class: Eddy::TransactionSets::TS810::Loops::PID::Repeat

Inherits:
Models::Loop::Repeat show all
Defined in:
lib/definitions/transaction_sets/manual/810/loops/pid.rb

Overview

Loop Summary:

  • Repeat: 1000
  • Components:
    • PID

Instance Attribute Summary

Attributes inherited from Models::Loop::Repeat

#components, #store

Instance Method Summary collapse

Methods inherited from Models::Loop::Repeat

#all_contents, #repeat

Constructor Details

#initialize(store) ⇒ void

Parameters:



26
27
28
29
# File 'lib/definitions/transaction_sets/manual/810/loops/pid.rb', line 26

def initialize(store)
  @pid = Eddy::Segments::PID.new(store)
  super(store, @pid)
end

Instance Method Details

#PID {|pid| ... } ⇒ Eddy::Segments::PID

Segment Summary:

  • Id: PID
  • Name: Product/Item Description
  • Purpose: To describe a product or process in coded or free-form format

Yield Parameters:

Returns:



35
36
37
38
# File 'lib/definitions/transaction_sets/manual/810/loops/pid.rb', line 35

def PID()
  yield(@pid) if block_given?
  return @pid
end