postcodeanywhere 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -5
- data/VERSION +1 -1
- data/postcodeanywhere.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -7,16 +7,15 @@ you can use it as
|
|
7
7
|
1. gem install postcodeanywhere
|
8
8
|
|
9
9
|
2. In your environment.rb add the following lines
|
10
|
-
|
11
|
-
|
12
|
-
PostcodeAnywhere::Request.license_code = "YOUR_LICENSE_CODE"
|
10
|
+
PostcodeAnywhere::Request.account_code = "YOUR_ACCOUNT_CODE"
|
11
|
+
PostcodeAnywhere::Request.license_code = "YOUR_LICENSE_CODE"
|
13
12
|
|
14
13
|
3. Then in your model or controller you can do something like
|
15
14
|
a. To get a list of addresses
|
16
|
-
|
15
|
+
PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :postcode => "sw19 1ne").lookup
|
17
16
|
|
18
17
|
b. Then, to get a particular detailed address (to fill out your address form fields)
|
19
|
-
|
18
|
+
PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :fetch_id => "24077031.00").fetch
|
20
19
|
|
21
20
|
== Note on Patches/Pull Requests
|
22
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.10.0
|
data/postcodeanywhere.gemspec
CHANGED