Sha256: f0953d7b467fd57162f4b06b1cc852129f9a1de920243d7cf779762b7ee9bb96
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
# typed: true # frozen_string_literal: true module EML module UK module Models module TNS class Message < ::EML::Model extend T::Sig fields("Transactions" => :transactions) sig { params(raw_values: T::Hash[Symbol, T.untyped]).void } def initialize(raw_values) @transactions = raw_values[:Transactions]. each_with_object([]) do |raw_transaction, transactions| transactions << EML::UK::Models::TNS::Transaction. new(raw_transaction) end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eml-2.1.0 | lib/eml/uk/models/tns/message.rb |