Sha256: c5be4097ca5f44d6d8f187b0b7a3110c2c44b9cd601199ccf864e062a2f4e907

Contents?: true

Size: 281 Bytes

Versions: 29

Compression:

Stored size: 281 Bytes

Contents

require 'filestack'

# intelligent upload flow requires you to pass in the intelligent parameter
# and have the service enabled on your application
client = FilestackClient.new('APIKEY')
filelink = client.upload(filepath: 'test-files/doom.mp4', intelligent: true)
puts filelink.url

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
filestack-3.0.0 examples/intelligent_upload.rb
filestack-2.9.7 examples/intelligent_upload.rb
filestack-2.9.6 examples/intelligent_upload.rb
filestack-2.9.5 examples/intelligent_upload.rb
filestack-2.9.4 examples/intelligent_upload.rb
filestack-2.9.3 examples/intelligent_upload.rb
filestack-2.9.2 examples/intelligent_upload.rb
filestack-2.9.1 examples/intelligent_upload.rb
filestack-2.9.0 examples/intelligent_upload.rb
filestack-2.8.1 examples/intelligent_upload.rb
filestack-2.8.0 examples/intelligent_upload.rb
filestack-2.7.0 examples/intelligent_upload.rb
filestack-2.6.7 examples/intelligent_upload.rb
filestack-2.6.6 examples/intelligent_upload.rb
filestack-2.6.5 examples/intelligent_upload.rb
filestack-2.6.4 examples/intelligent_upload.rb
filestack-2.6.3 examples/intelligent_upload.rb
filestack-2.6.2 examples/intelligent_upload.rb
filestack-2.6.1 examples/intelligent_upload.rb
filestack-2.6.0 examples/intelligent_upload.rb