Sha256: ae2814846f7ce8ea61e1da96634d6f1a28f9dc07c9b51a9631af57ddfa98e334
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
# typed: strict # frozen_string_literal: true module EML module UK module TNS class Response extend T::Sig attr_reader :transactions sig { params(response: T::Hash[Symbol, T.untyped]).void } def initialize(response) @transactions = response[:Transactions]. each_with_object([]) do |raw_transaction, transactions| transactions << EML::UK::Models::TNSTransaction. new(raw_transaction) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eml-2.0.0 | lib/eml/uk/tns/response.rb |