class MixinController
Controller class handling all mixin-related requests. Implements listing, assignment, creation, deletion and triggering actions on mixin-tagged instances.
`os_tpl` and `resource_tpl` mixins are a special case and are handled separately. See OsTplController and ResourceTplController.
TODO: Not yet implemented! Returns HTTP 501 for all requests!
Public Instance Methods
assign()
click to toggle source
POST /mixin/:term*/
# File app/controllers/mixin_controller.rb, line 25 def assign # TODO: impl collection = Occi::Collection.new respond_with(collection, status: 501) end
delete()
click to toggle source
DELETE /mixin/:term*/
# File app/controllers/mixin_controller.rb, line 39 def delete # TODO: impl collection = Occi::Collection.new respond_with(collection, status: 501) end
index()
click to toggle source
GET /mixin/:term*/
# File app/controllers/mixin_controller.rb, line 11 def index # TODO: impl @resources = Occi::Collection.new respond_with(@resources, status: 501) end
trigger()
click to toggle source
POST /mixin/:term*/?action=:action
# File app/controllers/mixin_controller.rb, line 18 def trigger # TODO: impl collection = Occi::Collection.new respond_with(collection, status: 501) end
update()
click to toggle source
PUT /mixin/:term*/
# File app/controllers/mixin_controller.rb, line 32 def update # TODO: impl collection = Occi::Collection.new respond_with(collection, status: 501) end