Sha256: 7d17511bf85bd302773c9330dbfabc7744c07bbf08ab3e039e607f16033f955e

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 KB

Contents

=begin
#barcodeapi

#Barcode APIs let you generate barcode images, and recognize values from images of barcodes.

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 CloudmersiveBarcodeApiClient::BarcodeScanApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'BarcodeScanApi' do
  before do
    # run before each test
    @instance = CloudmersiveBarcodeApiClient::BarcodeScanApi.new
  end

  after do
    # run after each test
  end

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

  # unit tests for barcode_scan_image
  # Scan and recognize an image of a barcode
  # Scan an image or photo of a barcode and return the result.  Supported barcode types include AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, All_1D, UPC_EAN_EXTENSION, MSI, PLESSEY, IMB
  # @param image_file Image file to perform the operation on.  Common file formats such as PNG, JPEG are supported.
  # @param [Hash] opts the optional parameters
  # @return [BarcodeScanResult]
  describe 'barcode_scan_image 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

2 entries across 2 versions & 1 rubygems

Version Path
cloudmersive-barcode-api-client-2.0.3 ./spec/api/barcode_scan_api_spec.rb
cloudmersive-barcode-api-client-2.0.2 ./spec/api/barcode_scan_api_spec.rb