cloudmersive-barcode-api-client 2.0.2 → 2.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1df161c3388127bcbce3a8f92a454ffb9b2a57fdb839addf9117c1bd0475a9a0
|
4
|
+
data.tar.gz: 5651053e922dd3e01fa6da0004b89d487d35d02a1f01141491c0ed77329e9af4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fed64a2e590f5e5244316843c97630d278c23d30ff2c9a0685280c95f278021bfc0414863fd9d800d284cecf932131d654e7659d8567597a000e977170663f7
|
7
|
+
data.tar.gz: 9727e499f539e48c44daffaf4b708a948058a50a8395a9679c91a55473db09af57290b01da38fa775bb434be86d04b0b1812acbb1fcb1631379fb3ceb4f9d9ca
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Barcode APIs let you generate barcode images, and recognize values from images o
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 2.0.
|
10
|
+
- Package version: 2.0.3
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-barcode-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-barcode-api-client-2.0.
|
26
|
+
gem install ./cloudmersive-barcode-api-client-2.0.3.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-barcode-api-client-2.0.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-barcode-api-client-2.0.3.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'cloudmersive-barcode-api-client', '~> 2.0.
|
34
|
+
gem 'cloudmersive-barcode-api-client', '~> 2.0.3'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/docs/GenerateBarcodeApi.md
CHANGED
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
|
14
14
|
# **generate_barcode_ean13**
|
15
|
-
>
|
15
|
+
> String generate_barcode_ean13(value)
|
16
16
|
|
17
17
|
Generate a EAN-13 code barcode as PNG file
|
18
18
|
|
@@ -52,7 +52,7 @@ Name | Type | Description | Notes
|
|
52
52
|
|
53
53
|
### Return type
|
54
54
|
|
55
|
-
**
|
55
|
+
**String**
|
56
56
|
|
57
57
|
### Authorization
|
58
58
|
|
@@ -61,12 +61,12 @@ Name | Type | Description | Notes
|
|
61
61
|
### HTTP request headers
|
62
62
|
|
63
63
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
64
|
-
- **Accept**:
|
64
|
+
- **Accept**: application/octet-stream
|
65
65
|
|
66
66
|
|
67
67
|
|
68
68
|
# **generate_barcode_ean8**
|
69
|
-
>
|
69
|
+
> String generate_barcode_ean8(value)
|
70
70
|
|
71
71
|
Generate a EAN-8 code barcode as PNG file
|
72
72
|
|
@@ -106,7 +106,7 @@ Name | Type | Description | Notes
|
|
106
106
|
|
107
107
|
### Return type
|
108
108
|
|
109
|
-
**
|
109
|
+
**String**
|
110
110
|
|
111
111
|
### Authorization
|
112
112
|
|
@@ -115,12 +115,12 @@ Name | Type | Description | Notes
|
|
115
115
|
### HTTP request headers
|
116
116
|
|
117
117
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
118
|
-
- **Accept**:
|
118
|
+
- **Accept**: application/octet-stream
|
119
119
|
|
120
120
|
|
121
121
|
|
122
122
|
# **generate_barcode_qr_code**
|
123
|
-
>
|
123
|
+
> String generate_barcode_qr_code(value)
|
124
124
|
|
125
125
|
Generate a QR code barcode as PNG file
|
126
126
|
|
@@ -160,7 +160,7 @@ Name | Type | Description | Notes
|
|
160
160
|
|
161
161
|
### Return type
|
162
162
|
|
163
|
-
**
|
163
|
+
**String**
|
164
164
|
|
165
165
|
### Authorization
|
166
166
|
|
@@ -169,12 +169,12 @@ Name | Type | Description | Notes
|
|
169
169
|
### HTTP request headers
|
170
170
|
|
171
171
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
172
|
-
- **Accept**:
|
172
|
+
- **Accept**: application/octet-stream
|
173
173
|
|
174
174
|
|
175
175
|
|
176
176
|
# **generate_barcode_upca**
|
177
|
-
>
|
177
|
+
> String generate_barcode_upca(value)
|
178
178
|
|
179
179
|
Generate a UPC-A code barcode as PNG file
|
180
180
|
|
@@ -214,7 +214,7 @@ Name | Type | Description | Notes
|
|
214
214
|
|
215
215
|
### Return type
|
216
216
|
|
217
|
-
**
|
217
|
+
**String**
|
218
218
|
|
219
219
|
### Authorization
|
220
220
|
|
@@ -223,12 +223,12 @@ Name | Type | Description | Notes
|
|
223
223
|
### HTTP request headers
|
224
224
|
|
225
225
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
226
|
-
- **Accept**:
|
226
|
+
- **Accept**: application/octet-stream
|
227
227
|
|
228
228
|
|
229
229
|
|
230
230
|
# **generate_barcode_upce**
|
231
|
-
>
|
231
|
+
> String generate_barcode_upce(value)
|
232
232
|
|
233
233
|
Generate a UPC-E code barcode as PNG file
|
234
234
|
|
@@ -268,7 +268,7 @@ Name | Type | Description | Notes
|
|
268
268
|
|
269
269
|
### Return type
|
270
270
|
|
271
|
-
**
|
271
|
+
**String**
|
272
272
|
|
273
273
|
### Authorization
|
274
274
|
|
@@ -277,7 +277,7 @@ Name | Type | Description | Notes
|
|
277
277
|
### HTTP request headers
|
278
278
|
|
279
279
|
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
|
280
|
-
- **Accept**:
|
280
|
+
- **Accept**: application/octet-stream
|
281
281
|
|
282
282
|
|
283
283
|
|
@@ -23,7 +23,7 @@ module CloudmersiveBarcodeApiClient
|
|
23
23
|
# Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
|
24
24
|
# @param value Barcode value to generate from
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [String]
|
27
27
|
def generate_barcode_ean13(value, opts = {})
|
28
28
|
data, _status_code, _headers = generate_barcode_ean13_with_http_info(value, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module CloudmersiveBarcodeApiClient
|
|
33
33
|
# Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
|
34
34
|
# @param value Barcode value to generate from
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
37
37
|
def generate_barcode_ean13_with_http_info(value, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: GenerateBarcodeApi.generate_barcode_ean13 ...'
|
@@ -51,7 +51,7 @@ module CloudmersiveBarcodeApiClient
|
|
51
51
|
# header parameters
|
52
52
|
header_params = {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
55
55
|
# HTTP header 'Content-Type'
|
56
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
57
57
|
|
@@ -67,7 +67,7 @@ module CloudmersiveBarcodeApiClient
|
|
67
67
|
:form_params => form_params,
|
68
68
|
:body => post_body,
|
69
69
|
:auth_names => auth_names,
|
70
|
-
:return_type => '
|
70
|
+
:return_type => 'String')
|
71
71
|
if @api_client.config.debugging
|
72
72
|
@api_client.config.logger.debug "API called: GenerateBarcodeApi#generate_barcode_ean13\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
73
73
|
end
|
@@ -77,7 +77,7 @@ module CloudmersiveBarcodeApiClient
|
|
77
77
|
# Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode
|
78
78
|
# @param value Barcode value to generate from
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
|
-
# @return [
|
80
|
+
# @return [String]
|
81
81
|
def generate_barcode_ean8(value, opts = {})
|
82
82
|
data, _status_code, _headers = generate_barcode_ean8_with_http_info(value, opts)
|
83
83
|
data
|
@@ -87,7 +87,7 @@ module CloudmersiveBarcodeApiClient
|
|
87
87
|
# Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode
|
88
88
|
# @param value Barcode value to generate from
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @return [Array<(
|
90
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
91
91
|
def generate_barcode_ean8_with_http_info(value, opts = {})
|
92
92
|
if @api_client.config.debugging
|
93
93
|
@api_client.config.logger.debug 'Calling API: GenerateBarcodeApi.generate_barcode_ean8 ...'
|
@@ -105,7 +105,7 @@ module CloudmersiveBarcodeApiClient
|
|
105
105
|
# header parameters
|
106
106
|
header_params = {}
|
107
107
|
# HTTP header 'Accept' (if needed)
|
108
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
109
109
|
# HTTP header 'Content-Type'
|
110
110
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
111
111
|
|
@@ -121,7 +121,7 @@ module CloudmersiveBarcodeApiClient
|
|
121
121
|
:form_params => form_params,
|
122
122
|
:body => post_body,
|
123
123
|
:auth_names => auth_names,
|
124
|
-
:return_type => '
|
124
|
+
:return_type => 'String')
|
125
125
|
if @api_client.config.debugging
|
126
126
|
@api_client.config.logger.debug "API called: GenerateBarcodeApi#generate_barcode_ean8\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
127
127
|
end
|
@@ -131,7 +131,7 @@ module CloudmersiveBarcodeApiClient
|
|
131
131
|
# Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information
|
132
132
|
# @param value QR code text to convert into the QR code barcode
|
133
133
|
# @param [Hash] opts the optional parameters
|
134
|
-
# @return [
|
134
|
+
# @return [String]
|
135
135
|
def generate_barcode_qr_code(value, opts = {})
|
136
136
|
data, _status_code, _headers = generate_barcode_qr_code_with_http_info(value, opts)
|
137
137
|
data
|
@@ -141,7 +141,7 @@ module CloudmersiveBarcodeApiClient
|
|
141
141
|
# Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information
|
142
142
|
# @param value QR code text to convert into the QR code barcode
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
|
-
# @return [Array<(
|
144
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
145
145
|
def generate_barcode_qr_code_with_http_info(value, opts = {})
|
146
146
|
if @api_client.config.debugging
|
147
147
|
@api_client.config.logger.debug 'Calling API: GenerateBarcodeApi.generate_barcode_qr_code ...'
|
@@ -159,7 +159,7 @@ module CloudmersiveBarcodeApiClient
|
|
159
159
|
# header parameters
|
160
160
|
header_params = {}
|
161
161
|
# HTTP header 'Accept' (if needed)
|
162
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
162
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
163
163
|
# HTTP header 'Content-Type'
|
164
164
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
165
165
|
|
@@ -175,7 +175,7 @@ module CloudmersiveBarcodeApiClient
|
|
175
175
|
:form_params => form_params,
|
176
176
|
:body => post_body,
|
177
177
|
:auth_names => auth_names,
|
178
|
-
:return_type => '
|
178
|
+
:return_type => 'String')
|
179
179
|
if @api_client.config.debugging
|
180
180
|
@api_client.config.logger.debug "API called: GenerateBarcodeApi#generate_barcode_qr_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
181
181
|
end
|
@@ -185,7 +185,7 @@ module CloudmersiveBarcodeApiClient
|
|
185
185
|
# Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode
|
186
186
|
# @param value UPC-A barcode value to generate from
|
187
187
|
# @param [Hash] opts the optional parameters
|
188
|
-
# @return [
|
188
|
+
# @return [String]
|
189
189
|
def generate_barcode_upca(value, opts = {})
|
190
190
|
data, _status_code, _headers = generate_barcode_upca_with_http_info(value, opts)
|
191
191
|
data
|
@@ -195,7 +195,7 @@ module CloudmersiveBarcodeApiClient
|
|
195
195
|
# Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode
|
196
196
|
# @param value UPC-A barcode value to generate from
|
197
197
|
# @param [Hash] opts the optional parameters
|
198
|
-
# @return [Array<(
|
198
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
199
199
|
def generate_barcode_upca_with_http_info(value, opts = {})
|
200
200
|
if @api_client.config.debugging
|
201
201
|
@api_client.config.logger.debug 'Calling API: GenerateBarcodeApi.generate_barcode_upca ...'
|
@@ -213,7 +213,7 @@ module CloudmersiveBarcodeApiClient
|
|
213
213
|
# header parameters
|
214
214
|
header_params = {}
|
215
215
|
# HTTP header 'Accept' (if needed)
|
216
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
216
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
217
217
|
# HTTP header 'Content-Type'
|
218
218
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
219
219
|
|
@@ -229,7 +229,7 @@ module CloudmersiveBarcodeApiClient
|
|
229
229
|
:form_params => form_params,
|
230
230
|
:body => post_body,
|
231
231
|
:auth_names => auth_names,
|
232
|
-
:return_type => '
|
232
|
+
:return_type => 'String')
|
233
233
|
if @api_client.config.debugging
|
234
234
|
@api_client.config.logger.debug "API called: GenerateBarcodeApi#generate_barcode_upca\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
235
235
|
end
|
@@ -239,7 +239,7 @@ module CloudmersiveBarcodeApiClient
|
|
239
239
|
# Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode
|
240
240
|
# @param value UPC-E barcode value to generate from
|
241
241
|
# @param [Hash] opts the optional parameters
|
242
|
-
# @return [
|
242
|
+
# @return [String]
|
243
243
|
def generate_barcode_upce(value, opts = {})
|
244
244
|
data, _status_code, _headers = generate_barcode_upce_with_http_info(value, opts)
|
245
245
|
data
|
@@ -249,7 +249,7 @@ module CloudmersiveBarcodeApiClient
|
|
249
249
|
# Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode
|
250
250
|
# @param value UPC-E barcode value to generate from
|
251
251
|
# @param [Hash] opts the optional parameters
|
252
|
-
# @return [Array<(
|
252
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
253
253
|
def generate_barcode_upce_with_http_info(value, opts = {})
|
254
254
|
if @api_client.config.debugging
|
255
255
|
@api_client.config.logger.debug 'Calling API: GenerateBarcodeApi.generate_barcode_upce ...'
|
@@ -267,7 +267,7 @@ module CloudmersiveBarcodeApiClient
|
|
267
267
|
# header parameters
|
268
268
|
header_params = {}
|
269
269
|
# HTTP header 'Accept' (if needed)
|
270
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
270
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
271
271
|
# HTTP header 'Content-Type'
|
272
272
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
273
273
|
|
@@ -283,7 +283,7 @@ module CloudmersiveBarcodeApiClient
|
|
283
283
|
:form_params => form_params,
|
284
284
|
:body => post_body,
|
285
285
|
:auth_names => auth_names,
|
286
|
-
:return_type => '
|
286
|
+
:return_type => 'String')
|
287
287
|
if @api_client.config.debugging
|
288
288
|
@api_client.config.logger.debug "API called: GenerateBarcodeApi#generate_barcode_upce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
289
289
|
end
|
@@ -37,7 +37,7 @@ describe 'GenerateBarcodeApi' do
|
|
37
37
|
# Validates and generate a EAN-13 barcode as a PNG file, a type of 1D barcode
|
38
38
|
# @param value Barcode value to generate from
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [String]
|
41
41
|
describe 'generate_barcode_ean13 test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -49,7 +49,7 @@ describe 'GenerateBarcodeApi' do
|
|
49
49
|
# Validates and generate a EAN-8 barcode as a PNG file, a type of 1D barcode
|
50
50
|
# @param value Barcode value to generate from
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [
|
52
|
+
# @return [String]
|
53
53
|
describe 'generate_barcode_ean8 test' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -61,7 +61,7 @@ describe 'GenerateBarcodeApi' do
|
|
61
61
|
# Generate a QR code barcode as a PNG file, a type of 2D barcode which can encode free-form text information
|
62
62
|
# @param value QR code text to convert into the QR code barcode
|
63
63
|
# @param [Hash] opts the optional parameters
|
64
|
-
# @return [
|
64
|
+
# @return [String]
|
65
65
|
describe 'generate_barcode_qr_code test' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -73,7 +73,7 @@ describe 'GenerateBarcodeApi' do
|
|
73
73
|
# Validate and generate a UPC-A barcode as a PNG file, a type of 1D barcode
|
74
74
|
# @param value UPC-A barcode value to generate from
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @return [
|
76
|
+
# @return [String]
|
77
77
|
describe 'generate_barcode_upca test' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -85,7 +85,7 @@ describe 'GenerateBarcodeApi' do
|
|
85
85
|
# Validates and generate a UPC-E barcode as a PNG file, a type of 1D barcode
|
86
86
|
# @param value UPC-E barcode value to generate from
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @return [
|
88
|
+
# @return [String]
|
89
89
|
describe 'generate_barcode_upce test' do
|
90
90
|
it 'should work' do
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-barcode-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|