docusigner 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docusigner.gemspec +1 -1
- data/lib/docusigner.rb +1 -0
- data/lib/docusigner/base.rb +1 -2
- data/lib/docusigner/{format.rb → no_extension_json_format.rb} +1 -1
- data/lib/docusigner/oauth2.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 280fac248352d13d59d13c3e243d7045de7b5261
|
4
|
+
data.tar.gz: 96583d5d789c608e46367ac45309d100898b0d80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6f10c1629bd6f09b53b8b312972f57e3f725ac0fb71d1e66996e6fb068b87d3ce2decb5f8efd0ba86800ec70ce71aadd3254aa251ad3a3bedab4bdd94e9b389
|
7
|
+
data.tar.gz: c4b40862dc44eeadb96692bd2d85b7d128b66f208bf83bbb6cdf3d8d8147c75ff0ba0fe1256c3c89c2f8f1741b08b6fd10ad918edab81ce216430c995f4af105
|
data/docusigner.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "docusigner"
|
3
|
-
s.version = "0.0.
|
3
|
+
s.version = "0.0.9"
|
4
4
|
s.description = "Unofficial gem for accessing the DocuSign REST API"
|
5
5
|
s.summary = "Unofficial gem for accessing the DocuSign REST API"
|
6
6
|
s.add_dependency "reactive_resource", ">= 0.7.3"
|
data/lib/docusigner.rb
CHANGED
data/lib/docusigner/base.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
require 'reactive_resource'
|
2
2
|
require 'docusigner/multipart'
|
3
|
-
require 'docusigner/format'
|
4
3
|
module Docusigner
|
5
4
|
class Base < ReactiveResource::Base
|
6
5
|
self.site = "https://demo.docusign.net/restapi/v2"
|
7
|
-
self.format =
|
6
|
+
self.format = :json
|
8
7
|
self.include_root_in_json = false
|
9
8
|
|
10
9
|
# allow you to attach documents
|
data/lib/docusigner/oauth2.rb
CHANGED
@@ -2,6 +2,9 @@ module Docusigner
|
|
2
2
|
class Oauth2 < Docusigner::Base
|
3
3
|
singleton
|
4
4
|
|
5
|
+
# for some reason, this endpoint will 404 if you include a format in the url
|
6
|
+
self.format = Docusigner::NoExtensionJsonFormat
|
7
|
+
|
5
8
|
class << self
|
6
9
|
def token(username, password, integrator_key)
|
7
10
|
@headers = {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docusigner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Ching
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reactive_resource
|
@@ -88,10 +88,10 @@ files:
|
|
88
88
|
- lib/docusigner/document.rb
|
89
89
|
- lib/docusigner/envelope.rb
|
90
90
|
- lib/docusigner/folder.rb
|
91
|
-
- lib/docusigner/format.rb
|
92
91
|
- lib/docusigner/group.rb
|
93
92
|
- lib/docusigner/login_information.rb
|
94
93
|
- lib/docusigner/multipart.rb
|
94
|
+
- lib/docusigner/no_extension_json_format.rb
|
95
95
|
- lib/docusigner/oauth2.rb
|
96
96
|
- lib/docusigner/profile.rb
|
97
97
|
- lib/docusigner/profile_image.rb
|