class Eddy::Data::Store

Container used to distribute state throughout an Interchange.

Attributes

application_receivers_code[RW]

Application Receiver's Code Code identifying party receiving transmission. Codes agreed to by trading partners @return [String]

application_senders_code[RW]

Application Sender's Code Code identifying party sending transmission; codes agreed to by trading partners @return [String]

component_separator[RW]

Component Element Separator

Used by:

@return [String] (“>”)

edi_version[RW]

Used by:

@return [String] (“00401”)

element_separator[RW]

Data Element Separator @return [String] (“*”)

repitition_separator[RW]

QUESTION: is this the same as `component_separator`?

See:

@return [String]

segment_separator[RW]

@return [String] (“~”)

time[RW]

Time value for use by DT/TM Elements. @return [Time]

version_release_industry_id_code[RW]

Version / Release / Industry Identifier Code

Used by:

@return [String]

Public Class Methods

new(time: Time.now().utc()) click to toggle source

@param time [Time] @return [void]

# File lib/eddy/data/store.rb, line 60
def initialize(time: Time.now().utc())
  self.time = time
  self.component_separator = ">"
  self.segment_separator   = "~"
  self.element_separator   = "*"
  self.edi_version = "00401"
  self.application_senders_code = "sender_id"
  self.application_receivers_code = "receiver_id"
  self.version_release_industry_id_code = "004010"
end