Class: EML::UK::TNS::Response

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/eml/uk/tns/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ Response

Returns a new instance of Response.



14
15
16
17
18
19
# File 'lib/eml/uk/tns/response.rb', line 14

def initialize(response)
  @transactions = T.let(
    model_transactions(response),
    T::Array[EML::UK::Models::TNS::Transaction]
  )
end

Instance Attribute Details

#transactionsObject (readonly)

Returns the value of attribute transactions.



11
12
13
# File 'lib/eml/uk/tns/response.rb', line 11

def transactions
  @transactions
end