Sha256: e52f80c1a6951ece806f50d7f580a9ca68359ffc60e2865838c11cf1de2969c6

Contents?: true

Size: 314 Bytes

Versions: 10

Compression:

Stored size: 314 Bytes

Contents

require 'kintone/command'

class Kintone::Command::SpaceThread < Kintone::Command
  def self.path
    'space/thread'
  end

  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
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
kintone_rb-1.0.1 lib/kintone/command/space_thread.rb
kintone_rb-1.0.0 lib/kintone/command/space_thread.rb
kintone-oauth-extension-0.2.2 lib/kintone/command/space_thread.rb
kintone-oauth-extension-0.2.1 lib/kintone/command/space_thread.rb
kintone-0.1.5 lib/kintone/command/space_thread.rb
kintone-0.1.4 lib/kintone/command/space_thread.rb
kintone-0.1.3 lib/kintone/command/space_thread.rb
kintone-0.1.2 lib/kintone/command/space_thread.rb
kintone-0.1.1 lib/kintone/command/space_thread.rb
kintone-0.1.0 lib/kintone/command/space_thread.rb