Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 734 Bytes

EduResourceCapabilities.md

File metadata and controls

22 lines (16 loc) · 734 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]

Example

require 'flat_api'

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