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
data/spec/configuration_spec.rb
DELETED
@@ -1,42 +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
|
-
|
15
|
-
describe CloudmersiveOcrApiClient::Configuration do
|
16
|
-
let(:config) { CloudmersiveOcrApiClient::Configuration.default }
|
17
|
-
|
18
|
-
before(:each) do
|
19
|
-
# uncomment below to setup host and base_path
|
20
|
-
#require 'URI'
|
21
|
-
#uri = URI.parse("https://api.cloudmersive.com")
|
22
|
-
#CloudmersiveOcrApiClient.configure do |c|
|
23
|
-
# c.host = uri.host
|
24
|
-
# c.base_path = uri.path
|
25
|
-
#end
|
26
|
-
end
|
27
|
-
|
28
|
-
describe '#base_url' do
|
29
|
-
it 'should have the default value' do
|
30
|
-
# uncomment below to test default value of the base path
|
31
|
-
#expect(config.base_url).to eq("https://api.cloudmersive.com")
|
32
|
-
end
|
33
|
-
|
34
|
-
it 'should remove trailing slashes' do
|
35
|
-
[nil, '', '/', '//'].each do |base_path|
|
36
|
-
config.base_path = base_path
|
37
|
-
# uncomment below to test trailing slashes
|
38
|
-
#expect(config.base_url).to eq("https://api.cloudmersive.com")
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
@@ -1,84 +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::BusinessCardRecognitionResult
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'BusinessCardRecognitionResult' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::BusinessCardRecognitionResult.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of BusinessCardRecognitionResult' do
|
31
|
-
it 'should create an instance of BusinessCardRecognitionResult' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::BusinessCardRecognitionResult)
|
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 "person_name"' 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 "person_title"' 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 "business_name"' 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
|
-
describe 'test attribute "address_string"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "phone_number"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
describe 'test attribute "email_address"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
describe 'test attribute "timestamp"' do
|
78
|
-
it 'should work' do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
end
|
84
|
-
|
@@ -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::FieldResult
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'FieldResult' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::FieldResult.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of FieldResult' do
|
31
|
-
it 'should create an instance of FieldResult' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::FieldResult)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "target_field"' 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 "field_values"' 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::FormDefinitionTemplate
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'FormDefinitionTemplate' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::FormDefinitionTemplate.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of FormDefinitionTemplate' do
|
31
|
-
it 'should create an instance of FormDefinitionTemplate' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::FormDefinitionTemplate)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "field_definitions"' 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 "table_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
|
-
end
|
48
|
-
|
@@ -1,144 +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::FormFieldDefinition
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'FormFieldDefinition' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::FormFieldDefinition.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of FormFieldDefinition' do
|
31
|
-
it 'should create an instance of FormFieldDefinition' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::FormFieldDefinition)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "field_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 "left_anchor"' 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 "top_anchor"' 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 "bottom_anchor"' 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
|
-
describe 'test attribute "alternate_anchor"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "anchor_mode"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
describe 'test attribute "data_type"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
describe 'test attribute "target_digit_count"' do
|
78
|
-
it 'should work' do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
describe 'test attribute "minimum_character_count"' do
|
84
|
-
it 'should work' do
|
85
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
describe 'test attribute "allow_numeric_digits"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
describe 'test attribute "vertical_alignment_type"' do
|
96
|
-
it 'should work' do
|
97
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
describe 'test attribute "horizontal_alignment_type"' do
|
102
|
-
it 'should work' do
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
describe 'test attribute "target_field_width_relative"' do
|
108
|
-
it 'should work' do
|
109
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
|
-
describe 'test attribute "target_field_height_relative"' do
|
114
|
-
it 'should work' do
|
115
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
describe 'test attribute "target_field_horizontal_adjustment"' do
|
120
|
-
it 'should work' do
|
121
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
describe 'test attribute "target_field_vertical_adjustment"' do
|
126
|
-
it 'should work' do
|
127
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
describe 'test attribute "ignore"' do
|
132
|
-
it 'should work' do
|
133
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
describe 'test attribute "options"' do
|
138
|
-
it 'should work' do
|
139
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
|
-
end
|
144
|
-
|
@@ -1,66 +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::FormRecognitionResult
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'FormRecognitionResult' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::FormRecognitionResult.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of FormRecognitionResult' do
|
31
|
-
it 'should create an instance of FormRecognitionResult' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::FormRecognitionResult)
|
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 "field_value_extraction_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
|
-
describe 'test attribute "table_value_extraction_results"' 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 "diagnostics"' 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
|
-
describe 'test attribute "best_match_form_setting_name"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
end
|
66
|
-
|
@@ -1,72 +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::FormTableColumnDefinition
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'FormTableColumnDefinition' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveOcrApiClient::FormTableColumnDefinition.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of FormTableColumnDefinition' do
|
31
|
-
it 'should create an instance of FormTableColumnDefinition' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::FormTableColumnDefinition)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "column_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 "top_anchor"' 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 "anchor_mode"' 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 "data_type"' 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
|
-
describe 'test attribute "minimum_character_count"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "allow_numeric_digits"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
end
|
72
|
-
|