postcodeanywhere 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/postcodeanywhere.rb +1 -1
- data/postcodeanywhere.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.3.0
|
data/lib/postcodeanywhere.rb
CHANGED
|
@@ -81,7 +81,7 @@ module PostcodeAnywhere
|
|
|
81
81
|
def lookup_type
|
|
82
82
|
if self.country_code == "GB"
|
|
83
83
|
"action=lookup&type=by_postcode"
|
|
84
|
-
elsif self.
|
|
84
|
+
elsif self.country_code == "US"
|
|
85
85
|
"action=lookup&type=by_zip"
|
|
86
86
|
else
|
|
87
87
|
"action=international&type=fetch_streets"
|
data/postcodeanywhere.gemspec
CHANGED