Class: HelloSign::Proxy::Team
- Inherits:
-
Object
- Object
- Object
- HelloSign::Proxy::Team
show all
- Defined in:
- lib/hello_sign/proxy/team.rb
Constant Summary
Constants inherited
from Object
Object::DEFAULT_PAGE
Instance Method Summary
collapse
Methods inherited from Object
#initialize
Instance Method Details
#add_member(params = {}) ⇒ Object
23
24
25
|
# File 'lib/hello_sign/proxy/team.rb', line 23
def add_member(params = {})
@client.post('/team/add_member', body: params)
end
|
#create(params = {}) ⇒ Object
7
8
9
|
# File 'lib/hello_sign/proxy/team.rb', line 7
def create(params = {})
@client.post('/team/create', body: params)
end
|
19
20
21
|
# File 'lib/hello_sign/proxy/team.rb', line 19
def destroy
@client.post('/team/destroy')
end
|
#remove_member(params = {}) ⇒ Object
27
28
29
|
# File 'lib/hello_sign/proxy/team.rb', line 27
def remove_member(params = {})
@client.post('/team/remove_member', body: params)
end
|
11
12
13
|
# File 'lib/hello_sign/proxy/team.rb', line 11
def show
@client.get('/team')
end
|
#update(params = {}) ⇒ Object
15
16
17
|
# File 'lib/hello_sign/proxy/team.rb', line 15
def update(params = {})
@client.post('/team', body: params)
end
|