dear-inventory-ruby 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/dear-inventory-ruby/api_client.rb +2 -0
- 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: 727a014b9815bd76c254c9f6315951458046e0808bb811db5a0bc6690bb7ddf0
|
4
|
+
data.tar.gz: 51138ec20b08a7b2875f65b6016532a441cac28dc797a4dae022c02a2ceb7cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ead27d454433630290c7dc828838d7754dcd1b23b7c229be23c45ff7fb30ff4f47f7877399cdcfbeff45c013345784d1e6669e5f2fd87e889cbba3bde5ac58aa
|
7
|
+
data.tar.gz: bd46592e998eedc10c53b9c149cbc32385c6f651bc7a4fa32dff46aa4c2ec06586daaf328787d2a1a4e7867c1d2d21399edd570de4e7d185ac7daf29fc74ede4
|
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.5
|
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.5.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.5.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.5'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -131,11 +131,13 @@ module DearInventoryRuby
|
|
131
131
|
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
132
132
|
end
|
133
133
|
end
|
134
|
+
|
134
135
|
request.headers = header_params
|
135
136
|
request.body = req_body
|
136
137
|
request.url url
|
137
138
|
request.params = query_params
|
138
139
|
download_file(request) if opts[:return_type] == 'File'
|
140
|
+
@config.logger.debug "Call API => #{http_method.upcase}: #{url}"
|
139
141
|
request
|
140
142
|
end
|
141
143
|
|