class GdsApi::Worldwide

def base_url

def base_url
  "#{endpoint}/api"
end

def organisations_for_world_location(location_slug)

def organisations_for_world_location(location_slug)
  get_list! "#{base_url}/world-locations/#{location_slug}/organisations"
end

def world_location(location_slug)

def world_location(location_slug)
  get_json "#{base_url}/world-locations/#{location_slug}"
end

def world_locations

def world_locations
  get_list! "#{base_url}/world-locations"
end