storecove 1.0.7 → 1.0.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e941a5e9a41de27022ebc99ecb2778850a19583
4
- data.tar.gz: d1453812248cbdc9838bebc44c0fd5995d8c2596
3
+ metadata.gz: 93411c9b0a54c5cfd99b8e4452f7443c2a709383
4
+ data.tar.gz: 1b58e9314c405408ea5a1ff450505e6b672f396e
5
5
  SHA512:
6
- metadata.gz: 59886b58208bfcf819408b42577d9f1e037af7b20d19f62d164ebced3b69f3dcda529839115a29d6bf14f5feb6bea21f2743d4b7025aff329a4743d9ce2b1b1a
7
- data.tar.gz: 139c5236db5cba9f266aa7cae2ad93eb370d5a7f7f4b2a5dbaf6bf6d4803d377882cceb3adc7c79c4c35b0fc29e3ccf6521e4af3fc31dd01796e96549bfb99e3
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 LegalEntity
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<LegalEntityIdentifier>'
58
+ :'identifiers' => :'Array<LegalShopIdentifier>'
59
59
  }
60
60
  end
61
61
 
@@ -13,7 +13,7 @@ require 'date'
13
13
 
14
14
  module StorecoveApi
15
15
 
16
- class LegalEntityIdentifier
16
+ class LegalShopIdentifier
17
17
  attr_accessor :identifier
18
18
 
19
19
  attr_accessor :scheme
@@ -22,7 +22,7 @@ module StorecoveApi
22
22
 
23
23
  attr_accessor :description
24
24
 
25
- attr_accessor :legal_entities
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
- :'legal_entities' => :'legal_entities'
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
- :'legal_entities' => :'Array<LegalEntity>'
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?(:'legal_entities')
75
- if (value = attributes[:'legal_entities']).is_a?(Array)
76
- self.legal_entities = value
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
- legal_entities == o.legal_entities
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, legal_entities].hash
116
+ [id, name, logo, description, legal_shops].hash
117
117
  end
118
118
 
119
119
  # Builds the object from hash
@@ -10,5 +10,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
10
10
  =end
11
11
 
12
12
  module StorecoveApi
13
- VERSION = "1.0.7"
13
+ VERSION = "1.0.8"
14
14
  end
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/legal_entity'
33
- require 'storecove/models/legal_entity_identifier'
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.7
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-01 00:00:00.000000000 Z
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/legal_entity.rb
222
- - lib/storecove/models/legal_entity_identifier.rb
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