class UnitedStates::State::PostalCode::StringTooLongError
Thrown when someone attempts to make a PostalCode
instance from a string longer 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 13 def initialize(message = DEFAULT_MESSAGE) super(message) end