Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

casper-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

casper-client

  • 0.0.7
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Casper Client

It's a simple api to the Casper Server (https://github.com/twilson63/casper_server/) a sinatra web service to the Casper Reports (a jasperreports wrapper in jruby). With this client you can send a jrxml template, a xml document and a xpath string and get the report.

Install

gem install casper-client

Usage Examples

Using the default service:

pdf = Casper::Client.build do |report|
  report.xml = # xml dataset
  report.template = # jrxml template
  report.xpath = # xpath query string
end

Using another host:

pdf = Casper::Client.build :host => 'http://mycasperserver.com' do |report|
  report.xml = # xml dataset
  report.template = # jrxml template
  report.xpath = # xpath query string
end

FAQs

Package last updated on 10 Jun 2011

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