Sha256: 2ee6d0ee135643b3be67723f6aea7a95264574aa068eb518334136e0dc700e59

Contents?: true

Size: 642 Bytes

Versions: 2

Compression:

Stored size: 642 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       = id
        @group_id = group_id
        @value    = value
        @data     = data
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
differential-1.0.2 lib/differential/parser/record.rb
differential-1.0.1 lib/differential/parser/record.rb