Class: PensionBurial::ProcessingOffice
- Inherits:
-
Object
- Object
- PensionBurial::ProcessingOffice
- Defined in:
- lib/pension_burial/processing_office.rb
Constant Summary collapse
- FILE =
Rails.root.join('config', 'pension_burial', 'zip_to_facility.csv')
- MAPPINGS =
CSV.read(FILE).to_h
- DEFAULT =
'Milwaukee'
- PO_BOX =
{ 'Milwaukee' => 5192, 'St. Paul' => 5365, 'Philadelphia' => 5206 }.freeze
Class Method Summary collapse
Class Method Details
.address_for(code) ⇒ Object
21 22 23 24 25 |
# File 'lib/pension_burial/processing_office.rb', line 21 def self.address_for(code) office = for_zip(code) box = PO_BOX[office] ["Attention: #{office} Pension Center", "P.O. Box #{box}", "Janesville, WI 53547-#{box}"] end |