Sha256: f9511006f1ee5dcefa02f557366620b761de8dfcc1350fb946df1ac80049a099
Contents?: true
Size: 1.34 KB
Versions: 3
Compression:
Stored size: 1.34 KB
Contents
module FDIC module BankFind class Institution < Record field :fdic_id, :id field(:legal_name, :legalName, &:strip) field :certificate_number, :certNumber field :supervising_authority, :FACodeText field :supervising_authority_code, :FACode field(:active?, 'activeFlag') { |value| value == 'Y' } date_field :inactive_as_of_date, "inActiveAsofDt" field :address field :city field :county field :state field :zip field :web_site, "webSite" date_field :insured_date, 'insuredDate' date_field :insured_from_date, "insuredFrmDt" date_field :insured_to_date, "insuredToDt" date_field :established_date, 'establishedDate' date_field :as_of_date, 'asOfDate' date_field :report_date, "reportDate" # This is NOT the date the query was made. int_field :office_count, "officeCount" currency_field :total_assets, 'totalAssets' currency_field :total_deposits, "totalDeposits" currency_field :domestic_deposits, "domesticDeposits" currency_field :bank_equity_capital, "bankEquityCapital" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fdic-0.6.0 | lib/fdic/bank_find/institution.rb |
fdic-0.5.0 | lib/fdic/bank_find/institution.rb |
fdic-0.4.0 | lib/fdic/institution.rb |