Class: CommonCartridge::Elements::Resources::Assignment

Inherits:
Object
  • Object
show all
Includes:
SAXMachine
Defined in:
lib/common_cartridge/elements/resources/assignment.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier.



33
34
35
# File 'lib/common_cartridge/elements/resources/assignment.rb', line 33

def identifier
  @identifier
end

#points_possibleObject

Returns the value of attribute points_possible.



33
34
35
# File 'lib/common_cartridge/elements/resources/assignment.rb', line 33

def points_possible
  @points_possible
end

Class Method Details

.patternObject



53
54
55
# File 'lib/common_cartridge/elements/resources/assignment.rb', line 53

def self.pattern
  /assignment|associatedcontent\/imscc_xmlv1p1\/learning\-application\-resource/
end

.typeObject



49
50
51
# File 'lib/common_cartridge/elements/resources/assignment.rb', line 49

def self.type
  :assignment
end

Instance Method Details

#attachmentsObject



45
46
47
# File 'lib/common_cartridge/elements/resources/assignment.rb', line 45

def attachments
  attachment_root.attachments
end