Sha256: 8bdac710e3aa58ac46bccfe12e48fcfc5eb87e033e45a1313c5706c4fb0ce02a

Contents?: true

Size: 332 Bytes

Versions: 11

Compression:

Stored size: 332 Bytes

Contents

require 'kintone/command'

class Kintone::Command::TemplateSpace < Kintone::Command
  def self.path
    'template/space'
  end

  def create(id, name, members, is_guest: false, fixed_member: false)
    body = { id: id, name: name, members: members, isGuest: is_guest, fixedMember: fixed_member }
    @api.post(@url, body)
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

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