ruby_postcode_anywhere 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +21 -1
- data/lib/ruby_postcode_anywhere.rb +2 -1
- data/ruby_postcode_anywhere.gemspec +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -1,2 +1,22 @@
|
|
1
1
|
ruby_postcode_anywhere
|
2
|
-
======================
|
2
|
+
======================
|
3
|
+
|
4
|
+
Using.
|
5
|
+
|
6
|
+
```
|
7
|
+
PostcodeAnywhere.key = "your key"
|
8
|
+
query = PostcodeAnywhere.validate_bank_details("12345678", "11-22-33")
|
9
|
+
query.success?
|
10
|
+
=> fail
|
11
|
+
|
12
|
+
PostcodeAnywhere.lookup("IP13 6QP")
|
13
|
+
=> #<PostcodeAnywhere::Response:0x007fcc8540c5f0
|
14
|
+
@errors={},
|
15
|
+
@response=
|
16
|
+
[{"Udprn"=>"11615355",
|
17
|
+
"Company"=>nil,
|
18
|
+
"Department"=>nil,
|
19
|
+
"Line1"=>"1 Shop Road",
|
20
|
+
"Line2"=>"Clopton",
|
21
|
+
...
|
22
|
+
```
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_postcode_anywhere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -28,20 +28,20 @@ rdoc_options: []
|
|
28
28
|
require_paths:
|
29
29
|
- lib
|
30
30
|
required_ruby_version: !ruby/object:Gem::Requirement
|
31
|
-
none: false
|
32
31
|
requirements:
|
33
32
|
- - ! '>='
|
34
33
|
- !ruby/object:Gem::Version
|
35
34
|
version: '0'
|
36
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
35
|
none: false
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
38
37
|
requirements:
|
39
38
|
- - ! '>='
|
40
39
|
- !ruby/object:Gem::Version
|
41
40
|
version: '0'
|
41
|
+
none: false
|
42
42
|
requirements: []
|
43
43
|
rubyforge_project:
|
44
|
-
rubygems_version: 1.8.
|
44
|
+
rubygems_version: 1.8.25
|
45
45
|
signing_key:
|
46
46
|
specification_version: 3
|
47
47
|
summary: PostcodeAnywhere wrapper
|