cloudmersive-ocr-api-client 1.5.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +3 -109
- data/Gemfile +0 -7
- data/README.md +0 -150
- data/Rakefile +0 -8
- data/cloudmersive-ocr-api-client.gemspec +0 -45
- data/docs/BusinessCardRecognitionResult.md +0 -15
- data/docs/FieldResult.md +0 -9
- data/docs/FormDefinitionTemplate.md +0 -9
- data/docs/FormFieldDefinition.md +0 -25
- data/docs/FormRecognitionResult.md +0 -12
- data/docs/FormTableColumnDefinition.md +0 -13
- data/docs/FormTableDefinition.md +0 -11
- data/docs/GetPageAngleResult.md +0 -9
- data/docs/ImageOcrApi.md +0 -571
- data/docs/ImageToLinesWithLocationResult.md +0 -9
- data/docs/ImageToTextResponse.md +0 -9
- data/docs/ImageToWordsWithLocationResult.md +0 -9
- data/docs/OcrLineElement.md +0 -9
- data/docs/OcrPageResult.md +0 -10
- data/docs/OcrPageResultWithLinesWithLocation.md +0 -10
- data/docs/OcrPageResultWithWordsWithLocation.md +0 -10
- data/docs/OcrPhotoTextElement.md +0 -14
- data/docs/OcrWordElement.md +0 -18
- data/docs/PdfOcrApi.md +0 -191
- data/docs/PdfToLinesWithLocationResult.md +0 -9
- data/docs/PdfToTextResponse.md +0 -9
- data/docs/PdfToWordsWithLocationResult.md +0 -9
- data/docs/PhotoToWordsWithLocationResult.md +0 -10
- data/docs/Point.md +0 -9
- data/docs/PreprocessingApi.md +0 -338
- data/docs/ReceiptLineItem.md +0 -9
- data/docs/ReceiptRecognitionResult.md +0 -16
- data/docs/ReceiptsApi.md +0 -63
- data/docs/TableCellResult.md +0 -9
- data/docs/TableResult.md +0 -9
- data/docs/TableRowResult.md +0 -8
- data/git_push.sh +0 -55
- data/lib/cloudmersive-ocr-api-client.rb +0 -70
- data/lib/cloudmersive-ocr-api-client/api/image_ocr_api.rb +0 -605
- data/lib/cloudmersive-ocr-api-client/api/pdf_ocr_api.rb +0 -212
- data/lib/cloudmersive-ocr-api-client/api/preprocessing_api.rb +0 -359
- data/lib/cloudmersive-ocr-api-client/api/receipts_api.rb +0 -79
- data/lib/cloudmersive-ocr-api-client/api_client.rb +0 -389
- data/lib/cloudmersive-ocr-api-client/api_error.rb +0 -38
- data/lib/cloudmersive-ocr-api-client/configuration.rb +0 -209
- data/lib/cloudmersive-ocr-api-client/models/business_card_recognition_result.rb +0 -259
- data/lib/cloudmersive-ocr-api-client/models/field_result.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/form_definition_template.rb +0 -203
- data/lib/cloudmersive-ocr-api-client/models/form_field_definition.rb +0 -361
- data/lib/cloudmersive-ocr-api-client/models/form_recognition_result.rb +0 -235
- data/lib/cloudmersive-ocr-api-client/models/form_table_column_definition.rb +0 -239
- data/lib/cloudmersive-ocr-api-client/models/form_table_definition.rb +0 -221
- data/lib/cloudmersive-ocr-api-client/models/get_page_angle_result.rb +0 -199
- data/lib/cloudmersive-ocr-api-client/models/image_to_lines_with_location_result.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/image_to_text_response.rb +0 -199
- data/lib/cloudmersive-ocr-api-client/models/image_to_words_with_location_result.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/ocr_line_element.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/ocr_page_result.rb +0 -209
- data/lib/cloudmersive-ocr-api-client/models/ocr_page_result_with_lines_with_location.rb +0 -211
- data/lib/cloudmersive-ocr-api-client/models/ocr_page_result_with_words_with_location.rb +0 -211
- data/lib/cloudmersive-ocr-api-client/models/ocr_photo_text_element.rb +0 -251
- data/lib/cloudmersive-ocr-api-client/models/ocr_word_element.rb +0 -289
- data/lib/cloudmersive-ocr-api-client/models/pdf_to_lines_with_location_result.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/pdf_to_text_response.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/pdf_to_words_with_location_result.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/photo_to_words_with_location_result.rb +0 -227
- data/lib/cloudmersive-ocr-api-client/models/point.rb +0 -199
- data/lib/cloudmersive-ocr-api-client/models/receipt_line_item.rb +0 -199
- data/lib/cloudmersive-ocr-api-client/models/receipt_recognition_result.rb +0 -271
- data/lib/cloudmersive-ocr-api-client/models/table_cell_result.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/table_result.rb +0 -201
- data/lib/cloudmersive-ocr-api-client/models/table_row_result.rb +0 -191
- data/lib/cloudmersive-ocr-api-client/version.rb +0 -15
- data/spec/api/image_ocr_api_spec.rb +0 -169
- data/spec/api/pdf_ocr_api_spec.rb +0 -78
- data/spec/api/preprocessing_api_spec.rb +0 -107
- data/spec/api/receipts_api_spec.rb +0 -47
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/business_card_recognition_result_spec.rb +0 -84
- data/spec/models/field_result_spec.rb +0 -48
- data/spec/models/form_definition_template_spec.rb +0 -48
- data/spec/models/form_field_definition_spec.rb +0 -144
- data/spec/models/form_recognition_result_spec.rb +0 -66
- data/spec/models/form_table_column_definition_spec.rb +0 -72
- data/spec/models/form_table_definition_spec.rb +0 -60
- data/spec/models/get_page_angle_result_spec.rb +0 -48
- data/spec/models/image_to_lines_with_location_result_spec.rb +0 -48
- data/spec/models/image_to_text_response_spec.rb +0 -48
- data/spec/models/image_to_words_with_location_result_spec.rb +0 -48
- data/spec/models/ocr_line_element_spec.rb +0 -48
- data/spec/models/ocr_page_result_spec.rb +0 -54
- data/spec/models/ocr_page_result_with_lines_with_location_spec.rb +0 -54
- data/spec/models/ocr_page_result_with_words_with_location_spec.rb +0 -54
- data/spec/models/ocr_photo_text_element_spec.rb +0 -78
- data/spec/models/ocr_word_element_spec.rb +0 -102
- data/spec/models/pdf_to_lines_with_location_result_spec.rb +0 -48
- data/spec/models/pdf_to_text_response_spec.rb +0 -48
- data/spec/models/pdf_to_words_with_location_result_spec.rb +0 -48
- data/spec/models/photo_to_words_with_location_result_spec.rb +0 -54
- data/spec/models/point_spec.rb +0 -48
- data/spec/models/receipt_line_item_spec.rb +0 -48
- data/spec/models/receipt_recognition_result_spec.rb +0 -90
- data/spec/models/table_cell_result_spec.rb +0 -48
- data/spec/models/table_result_spec.rb +0 -48
- data/spec/models/table_row_result_spec.rb +0 -42
- data/spec/spec_helper.rb +0 -111
@@ -1,60 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::FormTableDefinition
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'FormTableDefinition' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::FormTableDefinition.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of FormTableDefinition' do
|
31
|
-
it 'should create an instance of FormTableDefinition' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::FormTableDefinition)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "table_id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "column_definitions"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "target_table_height_relative"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
describe 'test attribute "target_row_height_relative"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
end
|
60
|
-
|
@@ -1,48 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::GetPageAngleResult
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'GetPageAngleResult' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::GetPageAngleResult.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of GetPageAngleResult' do
|
31
|
-
it 'should create an instance of GetPageAngleResult' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::GetPageAngleResult)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "successful"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "angle"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
|
@@ -1,48 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::ImageToLinesWithLocationResult
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ImageToLinesWithLocationResult' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::ImageToLinesWithLocationResult.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ImageToLinesWithLocationResult' do
|
31
|
-
it 'should create an instance of ImageToLinesWithLocationResult' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::ImageToLinesWithLocationResult)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "successful"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "lines"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
|
@@ -1,48 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::ImageToTextResponse
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ImageToTextResponse' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::ImageToTextResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ImageToTextResponse' do
|
31
|
-
it 'should create an instance of ImageToTextResponse' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::ImageToTextResponse)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "mean_confidence_level"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "text_result"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
|
@@ -1,48 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::ImageToWordsWithLocationResult
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ImageToWordsWithLocationResult' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::ImageToWordsWithLocationResult.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ImageToWordsWithLocationResult' do
|
31
|
-
it 'should create an instance of ImageToWordsWithLocationResult' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::ImageToWordsWithLocationResult)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "successful"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "words"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
|
@@ -1,48 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::OcrLineElement
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'OcrLineElement' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::OcrLineElement.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of OcrLineElement' do
|
31
|
-
it 'should create an instance of OcrLineElement' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::OcrLineElement)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "line_text"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "words"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
|
@@ -1,54 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::OcrPageResult
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'OcrPageResult' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::OcrPageResult.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of OcrPageResult' do
|
31
|
-
it 'should create an instance of OcrPageResult' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::OcrPageResult)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "page_number"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "mean_confidence_level"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "text_result"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
end
|
54
|
-
|
@@ -1,54 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::OcrPageResultWithLinesWithLocation
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'OcrPageResultWithLinesWithLocation' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::OcrPageResultWithLinesWithLocation.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of OcrPageResultWithLinesWithLocation' do
|
31
|
-
it 'should create an instance of OcrPageResultWithLinesWithLocation' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::OcrPageResultWithLinesWithLocation)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "page_number"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "successful"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "lines"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
end
|
54
|
-
|
@@ -1,54 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#ocrapi
|
3
|
-
|
4
|
-
#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for CloudmersiveOcrApiClient::OcrPageResultWithWordsWithLocation
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'OcrPageResultWithWordsWithLocation' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::OcrPageResultWithWordsWithLocation.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of OcrPageResultWithWordsWithLocation' do
|
31
|
-
it 'should create an instance of OcrPageResultWithWordsWithLocation' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::OcrPageResultWithWordsWithLocation)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "page_number"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "successful"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "words"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
end
|
54
|
-
|