Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Error sending signature request #122

Description

@7200rpm

I"m trying to send a signature request with the SDK and hitting an errors. I took the code directly from the getting started section:

client = HelloSign::Client.new api_key: 'API_KEY'
    client.send_signature_request(
      test_mode: 1,
      title: 'NDA with Acme Co.',
      subject: 'The NDA we talked about',
      message: 'Please sign this NDA and then we can discuss more.',
      signers: [
        {
          email_address: 'myname@gmail.com',
          name: 'Joe Brown'
        }
      ],
      files: ['NDA.pdf', 'AppendixA.pdf']
    )

Throws a ArgumentError (wrong number of arguments (given 1, expected 2..3))

Also, it's strange that the send signature request isn't documented on the wiki and only documented on the website. Am I doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacyRelated to legacy, non-OpenAPI SDK

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions