README.md in geolookup-0.5.5 vs README.md in geolookup-0.5.6
- old
+ new
@@ -1,6 +1,7 @@
# Geolookup [![Build Status](https://travis-ci.org/Spokeo/geolookup.png?branch=master)](https://travis-ci.org/Spokeo/geolookup)
+[![Code Climate](https://codeclimate.com/github/Spokeo/geolookup.png)](https://codeclimate.com/github/Spokeo/geolookup)
This gem wraps very common Geo lookups to either FIPS data or the collection of international data lookups. All codes on the app are FIPS codes.
## Installation
@@ -49,9 +50,21 @@
# => [ 32318231, -86602298]
# US State Code to Lat and Long
Geolookup::USA::State.code_to_lat_long(1)
# => [ 32318231, -86602298]
+
+# US State Names
+Geolookup::USA::State.names
+# => ["Alabama", "Alaska", ...]
+
+# US State Abbreviations
+Geolookup::USA::State.abbreviations
+# => ["AL", "AK", "AZ", ...]
+
+# US State Codes
+Geolookup::USA::State.codes
+# => [1, 2, 4, ...]
# US County Examples:
# Given a state code and county code return the county name
Geolookup::USA::County.code_to_name(1, 1)
\ No newline at end of file