Sha256: f29a945136ed876c3d6a9fc45f21994885361cfa326d4043e646b2eace40b4f2

Contents?: true

Size: 944 Bytes

Versions: 1

Compression:

Stored size: 944 Bytes

Contents

require 'spec_helper'
require 'json'

describe 'CellsApi' do
  before do
    @instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
    $VERBOSE = nil
  end

  after do
    # run after each test
  end

  describe 'get_extract_barcodes test' do
    it "should work" do
      remote_folder = 'TestData/In'

      local_name = 'Book1.xlsx'
      remote_name = 'Book1.xlsx'

      
      mapFiles = { }               
      mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")  
   
      uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
      @instance.upload_file(uploadrequest)
      request =   AsposeCellsCloud::GetExtractBarcodesRequest.new(:name=>remote_name,:sheetName=>'Sheet8',:pictureIndex=>0,:folder=>remote_folder);
      @instance.get_extract_barcodes(request);
    end
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aspose_cells_cloud-23.6 spec/api/cells_barcodes_controller_spec.rb