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



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

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

#updateObject

DocuSign does not permit this endpoint



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

def update
  raise "Not permitted"
end