Class: IMS::LTI::Models::ContentItems::LtiLinkItem
- Inherits:
-
ContentItem
- Object
- LTIModel
- ContentItem
- IMS::LTI::Models::ContentItems::LtiLinkItem
- Defined in:
- lib/ims/lti/models/content_items/lti_link_item.rb
Constant Summary collapse
- TYPE =
"LtiLinkItem"
Constants inherited from LTIModel
LTIModel::LTI_VERSION_2P0, LTIModel::LTI_VERSION_2P1
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ LtiLinkItem
constructor
A new instance of LtiLinkItem.
Methods inherited from ContentItem
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(attributes = {}) ⇒ LtiLinkItem
Returns a new instance of LtiLinkItem.
8 9 10 11 |
# File 'lib/ims/lti/models/content_items/lti_link_item.rb', line 8 def initialize(attributes = {}) super(attributes) self.type = TYPE end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IMS::LTI::Models::LTIModel