storecove 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93411c9b0a54c5cfd99b8e4452f7443c2a709383
|
4
|
+
data.tar.gz: 1b58e9314c405408ea5a1ff450505e6b672f396e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee80d58785c77788343dd9c92ee3ae0937df67abb457c8f43642a05314b4e8ee64afcb207092575b587e96efca11bbf4c588bb83d67c3b3272129a1babc1f3fd
|
7
|
+
data.tar.gz: 9cef5e9026bbe90e70890e748210d5ae1ebe152c8c831bcc787ecaa67c7d02c49efc2041046c975ceb8a4a8dec779f0fb439fa7d1a22437a6f330996806d2e70
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module StorecoveApi
|
15
15
|
|
16
|
-
class
|
16
|
+
class LegalShop
|
17
17
|
attr_accessor :name
|
18
18
|
|
19
19
|
attr_accessor :line1
|
@@ -55,7 +55,7 @@ module StorecoveApi
|
|
55
55
|
:'city' => :'String',
|
56
56
|
:'county' => :'String',
|
57
57
|
:'country' => :'String',
|
58
|
-
:'identifiers' => :'Array<
|
58
|
+
:'identifiers' => :'Array<LegalShopIdentifier>'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -22,7 +22,7 @@ module StorecoveApi
|
|
22
22
|
|
23
23
|
attr_accessor :description
|
24
24
|
|
25
|
-
attr_accessor :
|
25
|
+
attr_accessor :legal_shops
|
26
26
|
|
27
27
|
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -32,7 +32,7 @@ module StorecoveApi
|
|
32
32
|
:'name' => :'name',
|
33
33
|
:'logo' => :'logo',
|
34
34
|
:'description' => :'description',
|
35
|
-
:'
|
35
|
+
:'legal_shops' => :'legal_shops'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -43,7 +43,7 @@ module StorecoveApi
|
|
43
43
|
:'name' => :'String',
|
44
44
|
:'logo' => :'Logos',
|
45
45
|
:'description' => :'String',
|
46
|
-
:'
|
46
|
+
:'legal_shops' => :'Array<LegalShop>'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -71,9 +71,9 @@ module StorecoveApi
|
|
71
71
|
self.description = attributes[:'description']
|
72
72
|
end
|
73
73
|
|
74
|
-
if attributes.has_key?(:'
|
75
|
-
if (value = attributes[:'
|
76
|
-
self.
|
74
|
+
if attributes.has_key?(:'legal_shops')
|
75
|
+
if (value = attributes[:'legal_shops']).is_a?(Array)
|
76
|
+
self.legal_shops = value
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
@@ -101,7 +101,7 @@ module StorecoveApi
|
|
101
101
|
name == o.name &&
|
102
102
|
logo == o.logo &&
|
103
103
|
description == o.description &&
|
104
|
-
|
104
|
+
legal_shops == o.legal_shops
|
105
105
|
end
|
106
106
|
|
107
107
|
# @see the `==` method
|
@@ -113,7 +113,7 @@ module StorecoveApi
|
|
113
113
|
# Calculates hash code according to all attributes.
|
114
114
|
# @return [Fixnum] Hash code
|
115
115
|
def hash
|
116
|
-
[id, name, logo, description,
|
116
|
+
[id, name, logo, description, legal_shops].hash
|
117
117
|
end
|
118
118
|
|
119
119
|
# Builds the object from hash
|
data/lib/storecove/version.rb
CHANGED
data/lib/storecove.rb
CHANGED
@@ -29,8 +29,8 @@ require 'storecove/models/invoice_recipient'
|
|
29
29
|
require 'storecove/models/invoice_recipient_preflight'
|
30
30
|
require 'storecove/models/invoice_submission'
|
31
31
|
require 'storecove/models/invoice_submission_result'
|
32
|
-
require 'storecove/models/
|
33
|
-
require 'storecove/models/
|
32
|
+
require 'storecove/models/legal_shop'
|
33
|
+
require 'storecove/models/legal_shop_identifier'
|
34
34
|
require 'storecove/models/logos'
|
35
35
|
require 'storecove/models/party'
|
36
36
|
require 'storecove/models/preflight_invoice_recipient_result'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storecove
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Storecove
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -218,8 +218,8 @@ files:
|
|
218
218
|
- lib/storecove/models/invoice_recipient_preflight.rb
|
219
219
|
- lib/storecove/models/invoice_submission.rb
|
220
220
|
- lib/storecove/models/invoice_submission_result.rb
|
221
|
-
- lib/storecove/models/
|
222
|
-
- lib/storecove/models/
|
221
|
+
- lib/storecove/models/legal_shop.rb
|
222
|
+
- lib/storecove/models/legal_shop_identifier.rb
|
223
223
|
- lib/storecove/models/logos.rb
|
224
224
|
- lib/storecove/models/party.rb
|
225
225
|
- lib/storecove/models/preflight_invoice_recipient_result.rb
|