Sha256: 94daa01de8e4c26c105d4dc7bcc4ce915ab7e20191a3d38c9b127194bfa2d0be
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 Bytes
Contents
# frozen_string_literal: true require_relative 'serializer_type' module LedgerSync class Serialization module Type class ReferencesManyType < SerializerType def convert(args = {}) value = args.fetch(:value) value.map do |one_value| super(value: one_value) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.5 | lib/ledger_sync/serialization/type/references_many_type.rb |