Skip to content

Latest commit

聽

History

History
24 lines (18 loc) 路 973 Bytes

File metadata and controls

24 lines (18 loc) 路 973 Bytes

FlatApi::EduResourceCapabilities

Properties

Name Type Description Notes
can_edit Boolean Whether the current user can modify this resource [optional]
can_add_resources Boolean Whether the current user can add resources within this resource (e.g. `assignment` inside a `folder`) [optional]
can_add_folders Boolean Whether the current user can add folders within this resource (e.g. `folder` inside `root`) [optional]
can_change_privacy Boolean Whether the current user can change the privacy of this resource (e.g. to share as `organizationPublic` or unshare it with `private`) [optional]

Example

require 'flat_api'

instance = FlatApi::EduResourceCapabilities.new(
  can_edit: null,
  can_add_resources: null,
  can_add_folders: null,
  can_change_privacy: null
)