Sha256: 8fb1aa361e7993a97cadf2c9633dfbfd6a3ae271dd9b78a2b25cfa560932a7b4
Contents?: true
Size: 706 Bytes
Versions: 5
Compression:
Stored size: 706 Bytes
Contents
# frozen_string_literal: true # # Copyright (c) 2018-present, Blue Marble Payroll, LLC # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # module Differential module Parser # Represents a parsed record object. This is ultimately what a Reader creates and # is serves as input into the Calculator module. class Record attr_reader :id, :group_id, :value, :data def initialize(id:, group_id:, value:, data:) @id = ::Differential::Parser::Id.new(id) @group_id = ::Differential::Parser::Id.new(group_id) @value = value @data = data end end end end
Version data entries
5 entries across 5 versions & 1 rubygems