Class: CommonCartridge::Elements::Resources::Topic

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier.



5
6
7
# File 'lib/common_cartridge/elements/resources/topic.rb', line 5

def identifier
  @identifier
end

Class Method Details

.patternObject



22
23
24
# File 'lib/common_cartridge/elements/resources/topic.rb', line 22

def self.pattern
  /imsdt/
end

.typeObject



18
19
20
# File 'lib/common_cartridge/elements/resources/topic.rb', line 18

def self.type
  :discussion
end

Instance Method Details

#attachmentsObject



14
15
16
# File 'lib/common_cartridge/elements/resources/topic.rb', line 14

def attachments
  attachment_root.attachments
end