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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b81c0899406059276a3bde8180abecbfa84b3fbc
4
- data.tar.gz: dadc15a2e03610b23a1c73212c7177f34fc01eeb
3
+ metadata.gz: 280fac248352d13d59d13c3e243d7045de7b5261
4
+ data.tar.gz: 96583d5d789c608e46367ac45309d100898b0d80
5
5
  SHA512:
6
- metadata.gz: 8ca745a95889268e04b7a4537d91ea3a586c202c3286af816f6c8eef86afef0a197091eccd7844e6494f6330939621ed20b3f4776377c5de17f3e8f64ff2983c
7
- data.tar.gz: 087e624df28348225535c9c963334504de51486c7c20ba7fcce7b614857a571bb31b13b96224e2c0c794744a2f295d6d76553e4d246acef5639f4f8a1d41353d
6
+ metadata.gz: b6f10c1629bd6f09b53b8b312972f57e3f725ac0fb71d1e66996e6fb068b87d3ce2decb5f8efd0ba86800ec70ce71aadd3254aa251ad3a3bedab4bdd94e9b389
7
+ data.tar.gz: c4b40862dc44eeadb96692bd2d85b7d128b66f208bf83bbb6cdf3d8d8147c75ff0ba0fe1256c3c89c2f8f1741b08b6fd10ad918edab81ce216430c995f4af105
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "docusigner"
3
- s.version = "0.0.8"
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"
@@ -25,4 +25,5 @@ module Docusigner
25
25
 
26
26
  # other models
27
27
  autoload :Oauth2, "docusigner/oauth2"
28
+ autoload :NoExtensionJsonFormat, "docusigner/no_extension_json_format"
28
29
  end
@@ -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 = Docusigner::Format
6
+ self.format = :json
8
7
  self.include_root_in_json = false
9
8
 
10
9
  # allow you to attach documents
@@ -1,5 +1,5 @@
1
1
  module Docusigner
2
- module Format
2
+ module NoExtensionJsonFormat
3
3
  extend ActiveResource::Formats::JsonFormat
4
4
 
5
5
  def self.extension
@@ -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.8
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-01 00:00:00.000000000 Z
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