dear-inventory-ruby 0.1.12 → 0.1.13

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
  SHA256:
3
- metadata.gz: a7798e799cbf4fa681aad8ee42427c13fb6da8fd45e72b6c6feeb69af8ba371f
4
- data.tar.gz: 2121bc741a44a0af49b783443b0e554fcb140461c615e74fd59918b14dc3d5b8
3
+ metadata.gz: 0af23156a4744800a3c923beb2fe310fa2f5974554353272c795a183348848c9
4
+ data.tar.gz: 655be8b59ad6e919d15aeac99580014fcff3673dcbe5e466639ddf502d504f61
5
5
  SHA512:
6
- metadata.gz: e7a495a34bf3bfaec919ce61024002f81ab698dd085b4104a4454db4366f1dd9d3ff9c0bfc5de35e6613337fd93fe8ff4db0c61d814e6fa121c10c2548e0e94f
7
- data.tar.gz: 67eb1ebfda865b6888d4e4737705cc27641d571e50d39ec5e48ee323c6cb4bb4bb8b236654335db827c2ed9e25ffb92fe38b047d0aec5aa6d8c316338ec29204
6
+ metadata.gz: 7b132a8a063cdc4d2e49ba2aaf7474d9155d96e1379e79a31ec68f25bf3d0a63559267b86876db90665907c279f3631bdbb101896e35ae77724069ee3afd2be6
7
+ data.tar.gz: 5bdcc0d48eb6c3d1c8ad191156ca7a09c82d993b13031697ad602d9fc11b6e4c137ca89d31759b2a03c0750b577526cafe5d8d8b3d6398f7f5ca9a0351b63304
@@ -2,10 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.1.13] - 2020-10-28
6
+
7
+ - Update `PriceTiersList` to `PriceTiers`
8
+
5
9
  ## [0.1.12] - 2020-10-28
6
10
 
7
- - Add new endpoint and model: PriceTier
8
- - Endpoint GET PriceTiers
11
+ - Add new endpoint and model: `PriceTier`
12
+ - Endpoint GET `PriceTiers`
9
13
 
10
14
  ## [0.1.11] - 2020-09-21
11
15
 
data/README.md CHANGED
@@ -7,7 +7,7 @@ This specifing endpoints for DEAR Inventory API
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 0.1.12
10
+ - Package version: 0.1.13
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.nnhan.me](https://www.nnhan.me)
13
13
 
@@ -24,16 +24,16 @@ gem build dear-inventory-ruby.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./dear-inventory-ruby-0.1.12.gem
27
+ gem install ./dear-inventory-ruby-0.1.13.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./dear-inventory-ruby-0.1.12.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./dear-inventory-ruby-0.1.13.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'dear-inventory-ruby', '~> 0.1.12'
36
+ gem 'dear-inventory-ruby', '~> 0.1.13'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **price_tiers_list** | [**Array<PriceTier>**](PriceTier.md) | Array of PriceTiers | [optional]
7
+ **price_tiers** | [**Array<PriceTier>**](PriceTier.md) | Array of PriceTiers | [optional]
8
8
 
9
9
  ## Code Sample
10
10
 
11
11
  ```ruby
12
12
  require 'DearInventoryRuby'
13
13
 
14
- instance = DearInventoryRuby::PriceTiers.new(price_tiers_list: nil)
14
+ instance = DearInventoryRuby::PriceTiers.new(price_tiers: nil)
15
15
  ```
16
16
 
17
17
 
@@ -15,19 +15,19 @@ require 'date'
15
15
  module DearInventoryRuby
16
16
  class PriceTiers
17
17
  # Array of PriceTiers
18
- attr_accessor :price_tiers_list
18
+ attr_accessor :price_tiers
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
21
21
  def self.attribute_map
22
22
  {
23
- :'price_tiers_list' => :'PriceTiersList'
23
+ :'price_tiers' => :'PriceTiers'
24
24
  }
25
25
  end
26
26
 
27
27
  # Attribute type mapping.
28
28
  def self.openapi_types
29
29
  {
30
- :'price_tiers_list' => :'Array<PriceTier>'
30
+ :'price_tiers' => :'Array<PriceTier>'
31
31
  }
32
32
  end
33
33
 
@@ -52,9 +52,9 @@ module DearInventoryRuby
52
52
  h[k.to_sym] = v
53
53
  }
54
54
 
55
- if attributes.key?(:'price_tiers_list')
56
- if (value = attributes[:'price_tiers_list']).is_a?(Array)
57
- self.price_tiers_list = value
55
+ if attributes.key?(:'price_tiers')
56
+ if (value = attributes[:'price_tiers']).is_a?(Array)
57
+ self.price_tiers = value
58
58
  end
59
59
  end
60
60
  end
@@ -77,7 +77,7 @@ module DearInventoryRuby
77
77
  def ==(o)
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
- price_tiers_list == o.price_tiers_list
80
+ price_tiers == o.price_tiers
81
81
  end
82
82
 
83
83
  # @see the `==` method
@@ -89,7 +89,7 @@ module DearInventoryRuby
89
89
  # Calculates hash code according to all attributes.
90
90
  # @return [Integer] Hash code
91
91
  def hash
92
- [price_tiers_list].hash
92
+ [price_tiers].hash
93
93
  end
94
94
 
95
95
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module DearInventoryRuby
14
- VERSION = '0.1.12'
14
+ VERSION = '0.1.13'
15
15
  end
@@ -32,7 +32,7 @@ describe 'PriceTiers' do
32
32
  expect(@instance).to be_instance_of(DearInventoryRuby::PriceTiers)
33
33
  end
34
34
  end
35
- describe 'test attribute "price_tiers_list"' do
35
+ describe 'test attribute "price_tiers"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dear-inventory-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen
@@ -124,6 +124,7 @@ files:
124
124
  - lib/dear-inventory-ruby/models/taxes.rb
125
125
  - lib/dear-inventory-ruby/models/weight_unit.rb
126
126
  - lib/dear-inventory-ruby/version.rb
127
+ - pkg/dear-inventory-ruby-0.1.13.gem
127
128
  - spec/api/inventory_api_spec.rb
128
129
  - spec/api_client_spec.rb
129
130
  - spec/configuration_spec.rb