Class: ZIP

Inherits:
USA::Record show all
Includes:
USA::Seeded
Defined in:
app/models/zip.rb

Overview

A ZIP code, and the city, time zone and county the Postal Service delivers it in.

Constant Summary

Constants included from USA::Seeded

USA::Seeded::SLICE

Instance Method Summary collapse

Methods inherited from USA::Record

table_name_prefix

Instance Method Details

#to_s ⇒ String

Returns the default representation (used in views).

Returns:

  • (String) —

    the default representation (used in views).



12
# File 'app/models/zip.rb', line 12

def to_s = code