lib/docusigner/oauth2.rb in docusigner-0.0.8 vs lib/docusigner/oauth2.rb in docusigner-0.0.9
- old
+ new
@@ -1,8 +1,11 @@
module Docusigner
class Oauth2 < Docusigner::Base
singleton
+ # for some reason, this endpoint will 404 if you include a format in the url
+ self.format = Docusigner::NoExtensionJsonFormat
+
class << self
def token(username, password, integrator_key)
@headers = {
"Accept" => "application/json",
"Content-Type" => "application/x-www-form-urlencoded"