Class: Kintone::Command::Space

Inherits:
Kintone::Command show all
Defined in:
lib/kintone/command/space.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/space.rb', line 4

def self.path
  'space'
end

Instance Method Details

#delete(id) ⇒ Object



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

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

#get(id) ⇒ Object



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

def get(id)
  @api.get(@url, id: id)
end