Sha256: c5aafa37397c4a6d5a2582953611f14b6bdbb6e435d57efd43f99301522b68eb

Contents?: true

Size: 1.46 KB

Versions: 7

Compression:

Stored size: 1.46 KB

Contents

=begin
#ocrapi

#The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.

OpenAPI spec version: v1

Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.3.1

=end

require 'spec_helper'
require 'json'

# Unit tests for CloudmersiveOcrApiClient::ReceiptsApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'ReceiptsApi' do
  before do
    # run before each test
    @instance = CloudmersiveOcrApiClient::ReceiptsApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of ReceiptsApi' do
    it 'should create an instance of ReceiptsApi' do
      expect(@instance).to be_instance_of(CloudmersiveOcrApiClient::ReceiptsApi)
    end
  end

  # unit tests for receipts_photo_to_csv
  # Convert a photo of a receipt into a CSV file containing structured information from the receipt
  # Leverage Deep Learning to automatically turn a photo of a receipt into a CSV file containing the structured information from the receipt.
  # @param image_file Image file to perform OCR on.  Common file formats such as PNG, JPEG are supported.
  # @param [Hash] opts the optional parameters
  # @return [Object]
  describe 'receipts_photo_to_csv test' do
    it "should work" do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cloudmersive-ocr-api-client-1.5.0 ./spec/api/receipts_api_spec.rb
cloudmersive-ocr-api-client-1.4.9 ./spec/api/receipts_api_spec.rb
cloudmersive-ocr-api-client-1.4.8 ./spec/api/receipts_api_spec.rb
cloudmersive-ocr-api-client-1.4.7 ./spec/api/receipts_api_spec.rb
cloudmersive-ocr-api-client-1.4.6 ./spec/api/receipts_api_spec.rb
cloudmersive-ocr-api-client-1.4.5 ./spec/api/receipts_api_spec.rb
cloudmersive-ocr-api-client-1.4.4 ./spec/api/receipts_api_spec.rb