Class: IMS::LTI::Models::BaseUrlChoice
- Defined in:
- lib/ims/lti/models/base_url_choice.rb
Constant Summary
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, #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
#default_message_url ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/ims/lti/models/base_url_choice.rb', line 6 def if selector.nil? || (selector.applies_to && selector.applies_to.include?('MessageHandler')) secure_base_url || default_base_url || '' else '' end end |