Class: Kintone::Command::SpaceMembers
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize
Class Method Details
4
5
6
|
# File 'lib/kintone/command/space_members.rb', line 4
def self.path
'space/members'
end
|
Instance Method Details
8
9
10
11
|
# File 'lib/kintone/command/space_members.rb', line 8
def get(id)
response = @api.get(@url, id: id)
response['members']
end
|
#update(id, members) ⇒ Object
13
14
15
|
# File 'lib/kintone/command/space_members.rb', line 13
def update(id, members)
@api.put(@url, id: id, members: members)
end
|