Class: Boldsign::Resources::User

Inherits:
Boldsign::Resource show all
Defined in:
lib/boldsign/resources/user.rb

Overview

User-management endpoints (‘/v1/users/*`).

Instance Method Summary collapse

Methods inherited from Boldsign::Resource

#initialize

Constructor Details

This class inherits a constructor from Boldsign::Resource

Instance Method Details

#cancel_invitation(**params) ⇒ Object



12
# File 'lib/boldsign/resources/user.rb', line 12

def cancel_invitation(**params); @client.post("/v1/users/cancelInvitation", params: params); end

#change_team(body, **params) ⇒ Object



10
# File 'lib/boldsign/resources/user.rb', line 10

def change_team(body, **params);     @client.put("/v1/users/changeTeam", body: body, params: params); end

#create(body) ⇒ Object



7
# File 'lib/boldsign/resources/user.rb', line 7

def create(body);     @client.post("/v1/users/create", body: body); end

#get(user_id) ⇒ Object



6
# File 'lib/boldsign/resources/user.rb', line 6

def get(user_id);     @client.get("/v1/users/get", userId: user_id); end

#list(**params) ⇒ Object



5
# File 'lib/boldsign/resources/user.rb', line 5

def list(**params);   @client.get("/v1/users/list", params); end

#resend_invitation(**params) ⇒ Object



11
# File 'lib/boldsign/resources/user.rb', line 11

def resend_invitation(**params); @client.post("/v1/users/resendInvitation", params: params); end

#update(body, **params) ⇒ Object



8
# File 'lib/boldsign/resources/user.rb', line 8

def update(body, **params); @client.put("/v1/users/update", body: body, params: params); end

#update_metadata(body, **params) ⇒ Object



9
# File 'lib/boldsign/resources/user.rb', line 9

def (body, **params); @client.put("/v1/users/updateMetaData", body: body, params: params); end