Sha256: 2b63ffe5c0e4594eb5c578a093596cb280a7c306fa59cccd5fc05527e8bdde9c

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

require 'kintone/command'

class Kintone::Command::Guests < Kintone::Command
  def self.path
    'guests'
  end

  def register(guests)
    @api.post(@url, guests: guests)
  end

  def delete(guests)
    @api.delete(@url, guests: guests)
  end

  alias_method :create, :register
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kintone-0.1.4 lib/kintone/command/guests.rb
kintone-0.1.3 lib/kintone/command/guests.rb