craiglittle / hello_sign Goto Github PK
View Code? Open in Web Editor NEWA Ruby interface to the HelloSign API
Home Page: http://www.hellosign.com/info/api
License: MIT License
A Ruby interface to the HelloSign API
Home Page: http://www.hellosign.com/info/api
License: MIT License
Hey, I'm trying to retrieve the status of a signature request using the example code (obviously with the relevant ID for my signature request):
HelloSign.signature_request('33sdf3').status
But i'm getting a wrong number of arguments error.
HelloSign.signature_request('33sdf3')
ArgumentError: wrong number of arguments (1 for 0)
from /Users/chris/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/hello_sign-0.6.0/lib/hello_sign/proxy.rb:17:in `signature_request'
from (irb):6
from /Users/chris/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/railties-3.2.11/lib/rails/commands/console.rb:47:in `start'
from /Users/chris/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/railties-3.2.11/lib/rails/commands/console.rb:8:in `start'
from /Users/chris/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
I'm just getting started with HelloSign's new Embedded Signing (http://www.hellosign.com/api/embedded) so I'm not totally sure how this would work in the context of this gem. Have you guys put any thought into this new feature yet?
Using the latest HEAD (ecad737), when attempting to download a completed signature request, a JSON parse error is returned.
It seems like this is caused because connection is expecting a JSON response but the HelloSign API returned the actual PDF.
2.0.0p0 :002 > HelloSign.signature_request(<sig request id>).final_copy
JSON::ParserError: 757: unexpected token at '%PDF-1.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.