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