Class: IMS::LTI::Models::ToolProxy
- Defined in:
- lib/ims/lti/models/tool_proxy.rb
Constant Summary
Constants inherited from LTIModel
LTIModel::LTI_VERSION_2P0, LTIModel::LTI_VERSION_2P1
Instance Method Summary collapse
- #enabled_capabilities ⇒ Object
-
#initialize(attr = {}) ⇒ ToolProxy
constructor
A new instance of ToolProxy.
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(attr = {}) ⇒ ToolProxy
Returns a new instance of ToolProxy.
11 12 13 14 15 |
# File 'lib/ims/lti/models/tool_proxy.rb', line 11 def initialize(attr = {}) @context = ['http://purl.imsglobal.org/ctx/lti/v2/ToolProxy'] super(attr) @type = 'ToolProxy' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IMS::LTI::Models::LTIModel
Instance Method Details
#enabled_capabilities ⇒ Object
17 18 19 |
# File 'lib/ims/lti/models/tool_proxy.rb', line 17 def enabled_capabilities [*enabled_capability] end |