Class: Docusigner::User

Inherits:
Base
  • Object
show all
Defined in:
lib/docusigner/user.rb

Instance Method Summary collapse

Methods inherited from Base

act_as_user, authorization=, connection, headers, #to_json, token=

Methods included from Multipart::Resource

#add_document, #encode

Instance Method Details

#as_jsonObject

the create endpoint requires attributes to be nested under newUsers



12
13
14
# File 'lib/docusigner/user.rb', line 12

def as_json
  { "newUsers" => [super] }
end

#updateObject

DocuSign does not permit this endpoint



7
8
9
# File 'lib/docusigner/user.rb', line 7

def update
  raise "Not permitted"
end