lib/nucleus_api/api/entities/collections/services.rb
module Nucleus
module API
module Models
class Services < CollectionEntity
# The name of the entity to be used
def self.entity_name
'ServiceList'
end
item_collection('services', 'services', Models::Service)
basic_links('endpoints/%{endpoint_id}', 'services')
end
end
end
end