vertex_client 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/setup +1 -0
- data/lib/vertex_client/responses/tax_area.rb +8 -1
- data/lib/vertex_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82c674e8ad961329ee8e150e93f1125a734dfece4f8a3e7bf0486c9bf9d03af5
|
4
|
+
data.tar.gz: 58e3660e3770a41fd5a45c72ad797c3160745da6109f6ef37731b574ff441e26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc170bf34f37a52629163e9e573a89a2ee318b6091a0f88690ef6e5f74319cdd3220edc6acc5f70f5dcf776b0c4ba450d0af138c44ed2becfed445d52f420405
|
7
|
+
data.tar.gz: 21efd5e2acb6f453d1e34f75de7b56879bb0bf1947be34f853e72a0847a21ffd85df6f8b7b4cadc07bd75d1a23726c9f01971c71a7e7c1a7cfc25651f82f5fe4
|
data/bin/setup
CHANGED
@@ -2,7 +2,14 @@ module VertexClient
|
|
2
2
|
module Response
|
3
3
|
class TaxArea < Base
|
4
4
|
def tax_area_id
|
5
|
-
@tax_area_id ||=
|
5
|
+
@tax_area_id ||= primary_result[:@tax_area_id]
|
6
|
+
end
|
7
|
+
|
8
|
+
private
|
9
|
+
|
10
|
+
def primary_result
|
11
|
+
return @body[:tax_area_result][0] if @body[:tax_area_result].is_a?(Array)
|
12
|
+
@body[:tax_area_result]
|
6
13
|
end
|
7
14
|
end
|
8
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vertex_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Custom Ink
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|