Class: IMS::LTI::Models::ToolProfile
- Defined in:
- lib/ims/lti/models/tool_profile.rb
Constant Summary
Constants inherited from LTIModel
LTIModel::LTI_VERSION_2P0, LTIModel::LTI_VERSION_2P1
Instance Method Summary collapse
- #base_message_url ⇒ Object
- #messages ⇒ Object
- #resource_handlers ⇒ Object
- #security_profiles ⇒ Object
Methods inherited from LTIModel
add_attribute, add_attributes, #as_json, #attributes, #attributes=, #from_json, from_json, inherit_attributes, inherited, #initialize, #method_missing, #to_json
Constructor Details
This class inherits a constructor from IMS::LTI::Models::LTIModel
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IMS::LTI::Models::LTIModel
Instance Method Details
#base_message_url ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/ims/lti/models/tool_profile.rb', line 13 def if base_url_choice choice = base_url_choice.find { |choice| choice. != '' } choice ? choice. : '' else '' end end |
#messages ⇒ Object
26 27 28 |
# File 'lib/ims/lti/models/tool_profile.rb', line 26 def [*@message] end |
#resource_handlers ⇒ Object
22 23 24 |
# File 'lib/ims/lti/models/tool_profile.rb', line 22 def resource_handlers [*@resource_handler] end |
#security_profiles ⇒ Object
30 31 32 |
# File 'lib/ims/lti/models/tool_profile.rb', line 30 def security_profiles [*@security_profile] end |