class UnitedStates::State::PostalCode::StringTooShortError

Thrown when someone attempts to make a PostalCode instance from a string shorter than 2 characters.

Constants

DEFAULT_MESSAGE

Public Class Methods

new(message = DEFAULT_MESSAGE) click to toggle source
Calls superclass method
# File lib/united_states/state/postal_code.rb, line 24
def initialize(message = DEFAULT_MESSAGE)
  super(message)
end