lib/nucleus_api/api/entities/collections/vendors.rb
module Nucleus
module API
module Models
class Vendors < CollectionEntity
# The name of the entity to be used
def self.entity_name
'VendorList'
end
item_collection('vendors', 'vendors', Models::Vendor)
basic_links('', 'vendors')
end
end
end
end