Class: IMS::LTI::Models::RestServiceProfile

Inherits:
LTIModel
  • Object
show all
Defined in:
lib/ims/lti/models/rest_service_profile.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, #method_missing, #to_json

Constructor Details

#initialize(attributes = {}) ⇒ RestServiceProfile

Returns a new instance of RestServiceProfile.



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

def initialize(attributes = {})
  @type = "RestServiceProfile"
  super(attributes)
end

Dynamic Method Handling

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

Instance Method Details

#actionsObject



11
12
13
# File 'lib/ims/lti/models/rest_service_profile.rb', line 11

def actions
  [*action]
end