Skip to content

Commit

Permalink
Add documentation to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cath Thomas committed Aug 18, 2014
1 parent 6eb6064 commit c321c2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .gitignore
@@ -1,6 +1,4 @@
*swp
.yardoc
.yardoc/*
doc
doc/*
.DS_Store
12 changes: 8 additions & 4 deletions README.md
Expand Up @@ -12,7 +12,7 @@ gem install echochamber

## Usage

#### Initializing a client with your Echosign user credentials and application credentials
#### Initializing a client

```
credentials = Echochamber::Credentials.new(app_id, app_secret, api_key, email, password)
Expand Down Expand Up @@ -49,20 +49,24 @@ file_info_params = {
documentURL: Echochamber::UrlFileInfo.new(url_file_params)
}
recipient_params = {
i role: 'SIGNER', email: 'superguy@whatsit.com'
}
agreement_info_params = {
fileInfos: [ Echochamber::Fileinfo.new(file_info_params) ],
recipients: [ Echochamber::Recipient.new({ role: 'SIGNER', email: 'superguy@whatsit.com'})],
recipients: [ Echochamber::Recipient.new(recipient_params)],
signatureFlow: "SENDER_SIGNS_LAST",
signatureType: "ESIGN",
name: "Rumplestiltskin Contract"
}
agreement = Echochamber::Agreement.new(sender_user_id, sender_user_email, agreement_info)
agreement = Echochamber::Agreement.new(sender_id, sender_email, agreement_info)
client.create_agreement(agreement)
```


## Documentation



0 comments on commit c321c2f

Please sign in to comment.