Class: Kintone::Command::SpaceThread
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize
Class Method Details
4
5
6
|
# File 'lib/kintone/command/space_thread.rb', line 4
def self.path
'space/thread'
end
|
Instance Method Details
#update(id, name: nil, body: nil) ⇒ Object
8
9
10
11
12
13
|
# File 'lib/kintone/command/space_thread.rb', line 8
def update(id, name: nil, body: nil)
request_body = { id: id }
request_body[:name] = name if name
request_body[:body] = body if body
@api.put(@url, request_body)
end
|