Class: Kintone::Command::Guests

Inherits:
Kintone::Command show all
Defined in:
lib/kintone/command/guests.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Kintone::Command

#initialize

Constructor Details

This class inherits a constructor from Kintone::Command

Class Method Details

.pathObject



4
5
6
# File 'lib/kintone/command/guests.rb', line 4

def self.path
  'guests'
end

Instance Method Details

#delete(guests) ⇒ Object



12
13
14
# File 'lib/kintone/command/guests.rb', line 12

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

#register(guests) ⇒ Object Also known as: create



8
9
10
# File 'lib/kintone/command/guests.rb', line 8

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