Class: Orion6Rep::EmployerSet

Inherits:
Command
  • Object
show all
Defined in:
lib/orion6_rep/employer_set.rb

Instance Method Summary collapse

Methods inherited from Command

convert_to_integer_as_big_endian, convert_to_integer_as_little_endian, #execute, xor

Constructor Details

#initialize(employer_name, employer_location, document_type, document_number, cei_number, equipment_number, host_address, tcp_port = 3000) ⇒ EmployerSet

Returns a new instance of EmployerSet.



25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/orion6_rep/employer_set.rb', line 25

def initialize(employer_name, employer_location, document_type, document_number, cei_number, equipment_number, host_address, tcp_port = 3000)
  @employer_name = employer_name
  @employer_location = employer_location
  @document_type = document_type
  @document_number = document_number
  @cei_number = cei_number

  @equipment_number = equipment_number
  @host_address = host_address
  @tcp_port = tcp_port
  @reponse_size = 0
end