Class: IMS::LTI::Models::SecurityContract

Inherits:
LTIModel
  • Object
show all
Defined in:
lib/ims/lti/models/security_contract.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

#end_user_servicesObject



12
13
14
# File 'lib/ims/lti/models/security_contract.rb', line 12

def end_user_services
  [*end_user_service]
end

#servicesObject



16
17
18
# File 'lib/ims/lti/models/security_contract.rb', line 16

def services
  tool_services + end_user_services
end

#tool_servicesObject



8
9
10
# File 'lib/ims/lti/models/security_contract.rb', line 8

def tool_services
  [*tool_service]
end