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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +10 -10
- data/docs/CustomerApi.md +4 -4
- data/lib/dear-inventory-ruby/configuration.rb +4 -4
- data/lib/dear-inventory-ruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ea220d8b4a8277dfe7087649af950c20f283e7540eeaee9a788596d2401675a
|
4
|
+
data.tar.gz: c230297090e06e8c0f9bcaaabc061abf97f7fc0ba0b633c362e0b3be7ab4883a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33ccb141a1ce6e69cb0e73360819021b10fbfe29fc157d5fd76383e470a78fd97aef3a436453d4c153964104deb8eff98c460529bb011ab58c5aabc023d4c907
|
7
|
+
data.tar.gz: '03100085ac9915dd5aafabeafad333c6b310678cea1fdeb70a506229c53a3a96ac9921978751192321e2000b07e96d515521789c5f59a167168363c480816605'
|
data/CHANGELOG.md
CHANGED
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.
|
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.
|
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.
|
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.
|
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['
|
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['
|
65
|
+
#config.api_key_prefix['api-auth-accountid'] = 'Bearer'
|
66
66
|
|
67
67
|
# Configure API key authorization: appKey
|
68
|
-
config.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['
|
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**:
|
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**:
|
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['
|
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['
|
27
|
+
#config.api_key_prefix['api-auth-accountid'] = 'Bearer'
|
28
28
|
|
29
29
|
# Configure API key authorization: appKey
|
30
|
-
config.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['
|
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: '
|
196
|
-
value: api_key_with_prefix('
|
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: '
|
203
|
-
value: api_key_with_prefix('
|
202
|
+
key: 'api-auth-applicationkey',
|
203
|
+
value: api_key_with_prefix('api-auth-applicationkey')
|
204
204
|
},
|
205
205
|
}
|
206
206
|
end
|