Class: CanvasCc::CanvasCC::Models::CanvasFolder
- Defined in:
- lib/canvas_cc/canvas_cc/models/canvas_folder.rb
Constant Summary collapse
- WEB_RESOURCES =
'web_resources'
Constants inherited from Resource
Instance Attribute Summary collapse
-
#folder_location ⇒ Object
Returns the value of attribute folder_location.
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#locked ⇒ Object
Returns the value of attribute locked.
Attributes inherited from Resource
#dependencies, #files, #href, #identifier, #type
Instance Method Summary collapse
-
#initialize ⇒ CanvasFolder
constructor
A new instance of CanvasFolder.
Methods inherited from Resource
Constructor Details
#initialize ⇒ CanvasFolder
Returns a new instance of CanvasFolder.
8 9 10 11 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_folder.rb', line 8 def initialize super @type = WEB_CONTENT_TYPE end |
Instance Attribute Details
#folder_location ⇒ Object
Returns the value of attribute folder_location.
6 7 8 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_folder.rb', line 6 def folder_location @folder_location end |
#hidden ⇒ Object
Returns the value of attribute hidden.
6 7 8 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_folder.rb', line 6 def hidden @hidden end |
#locked ⇒ Object
Returns the value of attribute locked.
6 7 8 |
# File 'lib/canvas_cc/canvas_cc/models/canvas_folder.rb', line 6 def locked @locked end |