Sha256: b91a1588262cda5fe379c59a5e8da1a44657e54be1fa9da25e33285b831ad55d

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

require 'kintone/command'
require 'kintone/api'

class Kintone::Command::FieldAcl
  PATH = "field/acl"

  def initialize(api)
    @api = api
    @url = @api.get_url(PATH)
  end

  def update(id, rights)
    @api.put(@url, {:id => id, :rights => rights})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kintone-0.0.4 lib/kintone/command/field_acl.rb