Class: PerfectAudit::BankAccount

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/perfect_audit/api/bank_account.rb

Instance Method Summary collapse

Instance Method Details

#periodsObject



22
23
24
25
26
27
28
# File 'lib/perfect_audit/api/bank_account.rb', line 22

def periods
  _periods.map do |item|
    PerfectAudit::Period.new(item.each_with_object({}) { |(k, v), memo|
                               memo[k.to_sym] = v
                             })
  end
end