Sha256: a08c7edcd8840afb46c5bf640b87411fdc1aa157c9dc226633938fdfdba5f089

Contents?: true

Size: 892 Bytes

Versions: 3

Compression:

Stored size: 892 Bytes

Contents

=begin
{ "__metadata"=> {
    "uri"=>"http://odata.fdic.gov:80/v1/financial-institution/Branch('10345')",
    "type"=>"financial-institutionModel.Branch"
    },
  "id"=>"10345",
  "branchName"=>"First National Bank Alaska",
  "certNumber"=>"16130",
  "address"=>"101 W. 36th Avenue",
  "city"=>"Anchorage",
  "county"=>"Anchorage",
  "state"=>"AK",
  "zip"=>"99510.0",
  "branchNum"=>nil,
  "establishedDate"=>"1922-01-30 00:00:00.0",
  "acquiredDate"=>nil,

  "fiUninum"=>"10345",
  "servTypeCd"=>"11"
}
=end

module FDIC
  class Branch < Record
    field :fdic_id, 'id'
    field(:branch_name, 'branchName', &:strip)
    field :certificate_number, :certNumber

    field :address
    field :city
    field :county
    field :state
    field :zip

    field :branch_number, :branchNum
    date_field :established_date, :establishedDate
    date_field :acquired_date, :acquiredDate
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fdic-0.3.0 lib/fdic/branch.rb
fdic-0.2.0 lib/fdic/branch.rb
fdic-0.1.0 lib/fdic/branch.rb