Class: CanvasCc::CanvasCC::Models::CanvasFolder

Inherits:
Resource
  • Object
show all
Defined in:
lib/canvas_cc/canvas_cc/models/canvas_folder.rb

Constant Summary collapse

WEB_RESOURCES =
'web_resources'

Constants inherited from Resource

Resource::WEB_CONTENT_TYPE

Instance Attribute Summary collapse

Attributes inherited from Resource

#dependencies, #files, #href, #identifier, #type

Instance Method Summary collapse

Methods inherited from Resource

#attributes

Constructor Details

#initializeCanvasFolder

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_locationObject

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

#hiddenObject

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

#lockedObject

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