Class: IMS::LTI::Models::LocalizedText

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

Constant Summary

Constants inherited from LTIModel

IMS::LTI::Models::LTIModel::LTI_VERSION_2P0, IMS::LTI::Models::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(default_value = nil, key = nil) ⇒ LocalizedText

Returns a new instance of LocalizedText.



5
6
7
8
9
# File 'lib/ims/lti/models/localized_text.rb', line 5

def initialize(default_value = nil, key = nil)
  super()
  @default_value = default_value
  @key = key
end

Dynamic Method Handling

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