Class: HelloSign::Proxy::Team

Inherits:
Object
  • Object
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

Constructor Details

This class inherits a constructor from HelloSign::Proxy::Object

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

#destroyObject



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

#showObject



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