dear-inventory-ruby 0.1.9 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/README.md +7 -4
  4. data/dear-inventory-ruby.gemspec +1 -1
  5. data/docs/Contact.md +4 -0
  6. data/docs/Customer.md +3 -1
  7. data/docs/InventoryApi.md +54 -0
  8. data/docs/Me.md +1 -1
  9. data/docs/PriceTier.md +19 -0
  10. data/docs/PriceTiers.md +17 -0
  11. data/lib/dear-inventory-ruby.rb +3 -1
  12. data/lib/dear-inventory-ruby/api/inventory_api.rb +55 -1
  13. data/lib/dear-inventory-ruby/api_client.rb +8 -6
  14. data/lib/dear-inventory-ruby/api_error.rb +1 -1
  15. data/lib/dear-inventory-ruby/configuration.rb +1 -1
  16. data/lib/dear-inventory-ruby/models/account.rb +1 -1
  17. data/lib/dear-inventory-ruby/models/accounts.rb +1 -1
  18. data/lib/dear-inventory-ruby/models/address.rb +1 -35
  19. data/lib/dear-inventory-ruby/models/contact.rb +22 -2
  20. data/lib/dear-inventory-ruby/models/currency_code.rb +1 -1
  21. data/lib/dear-inventory-ruby/models/customer.rb +21 -8
  22. data/lib/dear-inventory-ruby/models/customers.rb +1 -1
  23. data/lib/dear-inventory-ruby/models/dimensions_unit.rb +1 -1
  24. data/lib/dear-inventory-ruby/models/error.rb +1 -1
  25. data/lib/dear-inventory-ruby/models/me.rb +3 -2
  26. data/lib/dear-inventory-ruby/models/payment_term.rb +1 -1
  27. data/lib/dear-inventory-ruby/models/payment_terms.rb +1 -1
  28. data/lib/dear-inventory-ruby/models/price_tier.rb +217 -0
  29. data/lib/dear-inventory-ruby/models/price_tiers.rb +209 -0
  30. data/lib/dear-inventory-ruby/models/success.rb +1 -1
  31. data/lib/dear-inventory-ruby/models/tax.rb +1 -1
  32. data/lib/dear-inventory-ruby/models/tax_component.rb +1 -1
  33. data/lib/dear-inventory-ruby/models/taxes.rb +1 -1
  34. data/lib/dear-inventory-ruby/models/weight_unit.rb +1 -1
  35. data/lib/dear-inventory-ruby/version.rb +2 -2
  36. data/spec/.DS_Store +0 -0
  37. data/spec/api/inventory_api_spec.rb +11 -1
  38. data/spec/api_client_spec.rb +1 -1
  39. data/spec/configuration_spec.rb +1 -1
  40. data/spec/models/account_spec.rb +1 -1
  41. data/spec/models/accounts_spec.rb +1 -1
  42. data/spec/models/address_spec.rb +1 -5
  43. data/spec/models/contact_spec.rb +13 -1
  44. data/spec/models/currency_code_spec.rb +1 -1
  45. data/spec/models/customer_spec.rb +7 -1
  46. data/spec/models/customers_spec.rb +1 -1
  47. data/spec/models/dimensions_unit_spec.rb +1 -1
  48. data/spec/models/error_spec.rb +1 -1
  49. data/spec/models/me_spec.rb +1 -1
  50. data/spec/models/payment_term_spec.rb +1 -1
  51. data/spec/models/payment_terms_spec.rb +1 -1
  52. data/spec/models/price_tier_spec.rb +47 -0
  53. data/spec/models/price_tiers_spec.rb +41 -0
  54. data/spec/models/success_spec.rb +1 -1
  55. data/spec/models/tax_component_spec.rb +1 -1
  56. data/spec/models/tax_spec.rb +1 -1
  57. data/spec/models/taxes_spec.rb +1 -1
  58. data/spec/models/weight_unit_spec.rb +1 -1
  59. data/spec/spec_helper.rb +1 -1
  60. metadata +24 -15
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #DEAR Inventory API
3
+
4
+ #This specifing endpoints for DEAR Inventory API
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: nnhansg@gmail.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for DearInventoryRuby::PriceTier
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PriceTier' do
21
+ before do
22
+ # run before each test
23
+ @instance = DearInventoryRuby::PriceTier.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PriceTier' do
31
+ it 'should create an instance of PriceTier' do
32
+ expect(@instance).to be_instance_of(DearInventoryRuby::PriceTier)
33
+ end
34
+ end
35
+ describe 'test attribute "code"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #DEAR Inventory API
3
+
4
+ #This specifing endpoints for DEAR Inventory API
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: nnhansg@gmail.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for DearInventoryRuby::PriceTiers
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PriceTiers' do
21
+ before do
22
+ # run before each test
23
+ @instance = DearInventoryRuby::PriceTiers.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PriceTiers' do
31
+ it 'should create an instance of PriceTiers' do
32
+ expect(@instance).to be_instance_of(DearInventoryRuby::PriceTiers)
33
+ end
34
+ end
35
+ describe 'test attribute "price_tiers"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 2.0.0
7
7
  Contact: nnhansg@gmail.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.0
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dear-inventory-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-12 00:00:00.000000000 Z
11
+ date: 2021-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -28,42 +28,42 @@ dependencies:
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 2.1.0
34
31
  - - "~>"
35
32
  - !ruby/object:Gem::Version
36
33
  version: '2.1'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 2.1.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 2.1.0
44
41
  - - "~>"
45
42
  - !ruby/object:Gem::Version
46
43
  version: '2.1'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.1.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 3.6.0
54
51
  - - "~>"
55
52
  - !ruby/object:Gem::Version
56
53
  version: '3.6'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 3.6.0
57
57
  type: :development
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 3.6.0
64
61
  - - "~>"
65
62
  - !ruby/object:Gem::Version
66
63
  version: '3.6'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 3.6.0
67
67
  description: DEAR Inventory Ruby SDK generated from DEAR-OpenAPI Spec 3.0 for https://inventory.dearsystems.com
68
68
  email:
69
69
  - nnhansg@gmail.com
@@ -91,6 +91,8 @@ files:
91
91
  - docs/Me.md
92
92
  - docs/PaymentTerm.md
93
93
  - docs/PaymentTerms.md
94
+ - docs/PriceTier.md
95
+ - docs/PriceTiers.md
94
96
  - docs/Success.md
95
97
  - docs/Tax.md
96
98
  - docs/TaxComponent.md
@@ -114,12 +116,15 @@ files:
114
116
  - lib/dear-inventory-ruby/models/me.rb
115
117
  - lib/dear-inventory-ruby/models/payment_term.rb
116
118
  - lib/dear-inventory-ruby/models/payment_terms.rb
119
+ - lib/dear-inventory-ruby/models/price_tier.rb
120
+ - lib/dear-inventory-ruby/models/price_tiers.rb
117
121
  - lib/dear-inventory-ruby/models/success.rb
118
122
  - lib/dear-inventory-ruby/models/tax.rb
119
123
  - lib/dear-inventory-ruby/models/tax_component.rb
120
124
  - lib/dear-inventory-ruby/models/taxes.rb
121
125
  - lib/dear-inventory-ruby/models/weight_unit.rb
122
126
  - lib/dear-inventory-ruby/version.rb
127
+ - spec/.DS_Store
123
128
  - spec/api/inventory_api_spec.rb
124
129
  - spec/api_client_spec.rb
125
130
  - spec/configuration_spec.rb
@@ -135,6 +140,8 @@ files:
135
140
  - spec/models/me_spec.rb
136
141
  - spec/models/payment_term_spec.rb
137
142
  - spec/models/payment_terms_spec.rb
143
+ - spec/models/price_tier_spec.rb
144
+ - spec/models/price_tiers_spec.rb
138
145
  - spec/models/success_spec.rb
139
146
  - spec/models/tax_component_spec.rb
140
147
  - spec/models/tax_spec.rb
@@ -164,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
171
  - !ruby/object:Gem::Version
165
172
  version: '0'
166
173
  requirements: []
167
- rubygems_version: 3.0.1
174
+ rubygems_version: 3.1.2
168
175
  signing_key:
169
176
  specification_version: 4
170
177
  summary: DEAR Inventory Ruby SDK generated from DEAR-OpenAPI Spec 3.0 for https://inventory.dearsystems.com
@@ -187,6 +194,8 @@ test_files:
187
194
  - spec/models/accounts_spec.rb
188
195
  - spec/models/me_spec.rb
189
196
  - spec/models/success_spec.rb
197
+ - spec/models/price_tier_spec.rb
190
198
  - spec/models/weight_unit_spec.rb
191
199
  - spec/models/address_spec.rb
200
+ - spec/models/price_tiers_spec.rb
192
201
  - spec/spec_helper.rb