Class: Rentlinx::StateValidator
- Inherits:
-
BaseValidator
- Object
- BaseValidator
- Rentlinx::StateValidator
- Defined in:
- lib/rentlinx/validators/state_validator.rb
Overview
Validator for two letter state codes
Contains a list of all the states Rentlinx permits
Constant Summary collapse
- STATES =
%w(AK AL AR AS AZ CA CO CT DC DE FL GA GU HI IA ID IL IN KS KY LA MA MD ME MI MN MO MP MS MT NC ND NE NH NJ NM NV NY OH OK OR PA PR RI SC SD TN TX UT VA VI VT WA WI WV WY).freeze
Instance Attribute Summary
Attributes inherited from BaseValidator
Method Summary
Methods inherited from BaseValidator
#initialize, #processed_value, #valid?
Constructor Details
This class inherits a constructor from Rentlinx::BaseValidator