Sha256: 098f717b8c9f90f8e8b9fb04333f277fac41b521dbb59985ecfec70bb33c3679
Contents?: true
Size: 758 Bytes
Versions: 9
Compression:
Stored size: 758 Bytes
Contents
module FDIC module BankFind class Bank < Record field :fdic_id, 'id' field(:legal_name, 'legalName', &:strip) field :certificate_number, :certNumber field(:active?, 'activeFlag') { |value| value == 'Y' } field :address field :city field :state field :zip field :office_count, :officeCount date_field :effective_date, :effectiveDate def find_institution! @institution ||= BankFind.find_institution(certificate_number) end def find_history_events! @history_events ||= BankFind.find_history_events(legal_name, certificate_number) end def find_branches! @branches ||= BankFind.find_branches(certificate_number) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems