stefan-kolb/nucleus

View on GitHub
lib/nucleus_api/api/entities/collections/installed_services.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Nucleus
  module API
    module Models
      class InstalledServices < CollectionEntity
        # The name of the entity to be used
        def self.entity_name
          'InstalledServiceList'
        end

        item_collection('services', 'services', Models::Service)
        basic_links('endpoints/%{endpoint_id}/applications/%{application_id}', 'services')
      end
    end
  end
end