Sha256: 704241a29257b39fbb20520d3f0d539377368e1c71cd9411715c94c81ccc76d9

Contents?: true

Size: 1.46 KB

Versions: 1

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.4.14

=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

1 entries across 1 versions & 1 rubygems

Version Path
cloudmersive-ocr-api-client-2.0.2 ./spec/api/receipts_api_spec.rb