postcodeanywhere 0.6.0 → 0.7.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.
Files changed (4) hide show
  1. data/README.rdoc +18 -0
  2. data/VERSION +1 -1
  3. data/postcodeanywhere.gemspec +1 -1
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  Description goes here.
4
4
 
5
+ This is an interface to postcode lookup service provided by postcodeanywhere.co.uk
6
+
7
+ you can use it as
8
+
9
+ 1. gem install postcodeanywhere
10
+
11
+ 2. In your environment.rb add the following lines
12
+
13
+ PostcodeAnywhere::Request.account_code = "YOUR_ACCOUNT_CODE"
14
+ PostcodeAnywhere::Request.license_code = "YOUR_LICENSE_CODE"
15
+
16
+ 3. Then in your model or controller you can do something like
17
+ a. To get a list of addresses
18
+ PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :postcode => "sw19 1ne").lookup
19
+
20
+ b. Then, to get a particular detailed address (to fill out your address form fields)
21
+ PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :fetch_id => "24077031.00").fetch
22
+
5
23
  == Note on Patches/Pull Requests
6
24
 
7
25
  * Fork the project.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.7.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{postcodeanywhere}
8
- s.version = "0.6.0"
8
+ s.version = "0.7.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["basedotextend"]
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 6
7
+ - 7
8
8
  - 0
9
- version: 0.6.0
9
+ version: 0.7.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - basedotextend