Class: IMS::LTI::Models::ContentItemContainer

Inherits:
LTIModel
  • Object
show all
Defined in:
lib/ims/lti/models/content_item_container.rb

Constant Summary collapse

CONTENT_ITEM_CONTAINER_CONTEXT =
'http://purl.imsglobal.org/ctx/lti/v1/ContentItem'

Constants inherited from LTIModel

LTIModel::LTI_VERSION_2P0, LTIModel::LTI_VERSION_2P1

Instance Method Summary collapse

Methods inherited from LTIModel

add_attribute, add_attributes, #as_json, #attributes, #attributes=, from_json, #from_json, inherit_attributes, inherited, #method_missing, #to_json

Constructor Details

#initialize(opts = {}) ⇒ ContentItemContainer

Returns a new instance of ContentItemContainer.



8
9
10
11
# File 'lib/ims/lti/models/content_item_container.rb', line 8

def initialize(opts = {})
  super(opts)
  self.context = CONTENT_ITEM_CONTAINER_CONTEXT
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class IMS::LTI::Models::LTIModel