dear-inventory-ruby 0.1.1 → 0.1.2

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: a44b14881b836e8b6c9dd55627777699765e816d39999829bef66d1a6385d664
4
- data.tar.gz: b6175ffac46149678b765cffe9a1357899f8f5c41748d45f0e87b8dc07bd53f2
3
+ metadata.gz: 4ea220d8b4a8277dfe7087649af950c20f283e7540eeaee9a788596d2401675a
4
+ data.tar.gz: c230297090e06e8c0f9bcaaabc061abf97f7fc0ba0b633c362e0b3be7ab4883a
5
5
  SHA512:
6
- metadata.gz: 629106b4fcf79ebb4f73751263c80cedc4d9c1f1420b8ba518155906f58aff7a7bc9a2380e1bc06c894e8973a7b06d1cfa1eb803ede4e14af647c3f2ca1a94b4
7
- data.tar.gz: 42b29532f4ca4d246dd5bcbcb0e274aa0f3a8fe6ba1100db9914dbb906a9f03e714d1662a6a0fc7179684db33a681991b4d289e09187e0f6bc7029775d72da3c
6
+ metadata.gz: 33ccb141a1ce6e69cb0e73360819021b10fbfe29fc157d5fd76383e470a78fd97aef3a436453d4c153964104deb8eff98c460529bb011ab58c5aabc023d4c907
7
+ data.tar.gz: '03100085ac9915dd5aafabeafad333c6b310678cea1fdeb70a506229c53a3a96ac9921978751192321e2000b07e96d515521789c5f59a167168363c480816605'
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.1.2] - 2020-02-12
6
+
7
+ - Rename api key.
8
+
5
9
  ## [0.1.1] - 2020-02-12
6
10
 
7
11
  - Update gemspec.
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.1
10
+ - Package version: 0.1.2
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.1.gem
27
+ gem install ./dear-inventory-ruby-0.1.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./dear-inventory-ruby-0.1.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./dear-inventory-ruby-0.1.2.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.1'
36
+ gem 'dear-inventory-ruby', '~> 0.1.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -60,14 +60,14 @@ require 'dear-inventory-ruby'
60
60
  # Setup authorization
61
61
  DearInventoryRuby.configure do |config|
62
62
  # Configure API key authorization: accountID
63
- config.api_key['api_auth_accountid'] = 'YOUR API KEY'
63
+ config.api_key['api-auth-accountid'] = 'YOUR API KEY'
64
64
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
65
- #config.api_key_prefix['api_auth_accountid'] = 'Bearer'
65
+ #config.api_key_prefix['api-auth-accountid'] = 'Bearer'
66
66
 
67
67
  # Configure API key authorization: appKey
68
- config.api_key['api_auth_applicationkey'] = 'YOUR API KEY'
68
+ config.api_key['api-auth-applicationkey'] = 'YOUR API KEY'
69
69
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
70
- #config.api_key_prefix['api_auth_applicationkey'] = 'Bearer'
70
+ #config.api_key_prefix['api-auth-applicationkey'] = 'Bearer'
71
71
  end
72
72
 
73
73
  api_instance = DearInventoryRuby::CustomerApi.new
@@ -116,13 +116,13 @@ Class | Method | HTTP request | Description
116
116
 
117
117
 
118
118
  - **Type**: API key
119
- - **API key parameter name**: api_auth_accountid
119
+ - **API key parameter name**: api-auth-accountid
120
120
  - **Location**: HTTP header
121
121
 
122
122
  ### appKey
123
123
 
124
124
 
125
125
  - **Type**: API key
126
- - **API key parameter name**: api_auth_applicationkey
126
+ - **API key parameter name**: api-auth-applicationkey
127
127
  - **Location**: HTTP header
128
128
 
data/docs/CustomerApi.md CHANGED
@@ -22,14 +22,14 @@ require 'dear-inventory-ruby'
22
22
  # setup authorization
23
23
  DearInventoryRuby.configure do |config|
24
24
  # Configure API key authorization: accountID
25
- config.api_key['api_auth_accountid'] = 'YOUR API KEY'
25
+ config.api_key['api-auth-accountid'] = 'YOUR API KEY'
26
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
- #config.api_key_prefix['api_auth_accountid'] = 'Bearer'
27
+ #config.api_key_prefix['api-auth-accountid'] = 'Bearer'
28
28
 
29
29
  # Configure API key authorization: appKey
30
- config.api_key['api_auth_applicationkey'] = 'YOUR API KEY'
30
+ config.api_key['api-auth-applicationkey'] = 'YOUR API KEY'
31
31
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
- #config.api_key_prefix['api_auth_applicationkey'] = 'Bearer'
32
+ #config.api_key_prefix['api-auth-applicationkey'] = 'Bearer'
33
33
  end
34
34
 
35
35
  api_instance = DearInventoryRuby::CustomerApi.new
@@ -192,15 +192,15 @@ module DearInventoryRuby
192
192
  {
193
193
  type: 'api_key',
194
194
  in: 'header',
195
- key: 'api_auth_accountid',
196
- value: api_key_with_prefix('api_auth_accountid')
195
+ key: 'api-auth-accountid',
196
+ value: api_key_with_prefix('api-auth-accountid')
197
197
  },
198
198
  'appKey' =>
199
199
  {
200
200
  type: 'api_key',
201
201
  in: 'header',
202
- key: 'api_auth_applicationkey',
203
- value: api_key_with_prefix('api_auth_applicationkey')
202
+ key: 'api-auth-applicationkey',
203
+ value: api_key_with_prefix('api-auth-applicationkey')
204
204
  },
205
205
  }
206
206
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module DearInventoryRuby
14
- VERSION = '0.1.1'
14
+ VERSION = '0.1.2'
15
15
  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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen