Class: Boldsign::Resources::Team
Overview
Team endpoints (‘/v1/teams/*`).
Instance Method Summary
collapse
#initialize
Instance Method Details
#create(body) ⇒ Object
7
|
# File 'lib/boldsign/resources/team.rb', line 7
def create(body); @client.post("/v1/teams/create", body: body); end
|
#get(team_id) ⇒ Object
6
|
# File 'lib/boldsign/resources/team.rb', line 6
def get(team_id); @client.get("/v1/teams/get", teamId: team_id); end
|
#list(**params) ⇒ Object
5
|
# File 'lib/boldsign/resources/team.rb', line 5
def list(**params); @client.get("/v1/teams/list", params); end
|
#update(body, **params) ⇒ Object
8
|
# File 'lib/boldsign/resources/team.rb', line 8
def update(body, **params); @client.put("/v1/teams/update", body: body, params: params); end
|