class IMS::LTI::Models::RestService
Constants
- TYPE
Public Class Methods
new(attributes = {})
click to toggle source
Calls superclass method
IMS::LTI::Models::LTIModel::new
# File lib/ims/lti/models/rest_service.rb, line 9 def initialize(attributes = {}) @type = TYPE super(attributes) end
Public Instance Methods
actions()
click to toggle source
# File lib/ims/lti/models/rest_service.rb, line 21 def actions [*action] end
formats()
click to toggle source
# File lib/ims/lti/models/rest_service.rb, line 25 def formats [*format] end
profile()
click to toggle source
# File lib/ims/lti/models/rest_service.rb, line 14 def profile RestServiceProfile.new( service: endpoint, action: action ) end