Sha256: e08396209f01571f6c2ba4c5b3da2223e2d6c12373499b71a6c5f3a36da8a86b
Contents?: true
Size: 489 Bytes
Versions: 72
Compression:
Stored size: 489 Bytes
Contents
module SmartyStreets module USZipcode # Known in the SmartyStreets US ZIP Code API documentation as a city_state # See "https://smartystreets.com/docs/cloud/us-zipcode-api#cities" class City attr_reader :mailable_city, :state_abbreviation, :state, :city def initialize(obj) @city = obj['city'] @mailable_city = obj['mailable_city'] @state_abbreviation = obj['state_abbreviation'] @state = obj['state'] end end end end
Version data entries
72 entries across 72 versions & 1 rubygems