New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vuzitruby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuzitruby

  • 2.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= VuzitRuby - Vuzit Web Services library

== INTRODUCTION

This is a library that allows developers to directly access the Vuzit Web Service API through a simple Ruby script:

http://vuzit.com/developer/web_service_api

Below is a basic upload example:

require "vuzitruby"

Vuzit::Service.public_key = 'YOUR_PUBLIC_API_KEY' Vuzit::Service.private_key = 'YOUR_PRIVATE_API_KEY'

doc = Vuzit::Document.upload("c:/path/to/document.pdf")

puts "Document id: " + doc.id

To get started all you need to do is download the code, sign up for a free account (https://ssl.vuzit.com/signup) and replace the public and private keys with the keys from your account.

== SETUP

The client library is a RubyGem called vuzitruby. To install, type:

gem install vuzitruby

== GETTING STARTED

== EXAMPLES

Find Document Example - how to load a document:

require "vuzitruby"

Vuzit::Service.public_key = 'YOUR_PUBLIC_API_KEY' Vuzit::Service.private_key = 'YOUR_PRIVATE_API_KEY'

doc = Vuzit::Document.find("DOCUMENT_ID")

puts "Document id: " + doc.id puts "Document title: " + doc.title

Delete (destroy) Document Example:

require "vuzitruby"

Vuzit::Service.public_key = 'YOUR_PUBLIC_API_KEY' Vuzit::Service.private_key = 'YOUR_PRIVATE_API_KEY'

doc = Vuzit::Document.destroy("DOCUMENT_ID")

Upload and View with the JavaScript API Example for a Rails RHTML file:

<% require "vuzitruby" require 'cgi'

Vuzit::Service.public_key = 'YOUR_PUBLIC_API_KEY' Vuzit::Service.private_key = 'YOUR_PRIVATE_API_KEY'

doc = Vuzit::Document.upload("c:/path/to/document.pdf") timestamp = Time.now sig = Vuzit::Service.signature("show", doc.id, timestamp) %>

== LICENSE

Copyright (c) 2009-2010 Brent Matzelle, Vuzit LLC

Released under the MIT license:

http://www.opensource.org/licenses/mit-license.php

This means you can use it in proprietary products. See LICENSE file.

FAQs

Package last updated on 23 Apr 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc