Class: Kintone::Command::RecordAcl

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

def self.path
  'record/acl'
end

Instance Method Details

#update(id, rights) ⇒ Object



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

def update(id, rights)
  @api.put(@url, id: id, rights: rights)
end