Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (55 sloc) 3.136 kb
# -*- coding: utf-8 -*-
class WorldFOIWebsites
def self.world_foi_websites
world_foi_websites = [
{:name => "WhatDoTheyKnow",
:country_name => "United Kingdom",
:country_iso_code => "GB",
:url => "http://www.whatdotheyknow.com"},
{:name => "Informata Zyrtare",
:country_name => "Kosova",
:country_iso_code => "XK",
:url => "http://informatazyrtare.org"},
{:name => "Ask The EU",
:country_name => "European Union",
:country_iso_code => "",
:url => "http://asktheu.org"},
{:name => "MuckRock.com",
:country_name => "United States of America",
:country_iso_code => "US",
:url => "http://www.muckrock.com"},
{:name => "FYI",
:country_name => "New Zealand",
:country_iso_code => "NZ",
:url => "http://fyi.org.nz"},
{:name => "Frag den Staat",
:country_name => "Deutschland",
:country_iso_code => "DE",
:url => "http://fragdenstaat.de"},
{:name => "tu derecho a saber",
:country_name => "España",
:country_iso_code => "ES",
:url => "http://tuderechoasaber.es"},
{:name => "Queremos Saber",
:country_name => "Brasil",
:country_iso_code => "BR",
:url => "http://queremossaber.org.br"},
{:name => "Ki Mit Tud",
:country_name => "Magyarország",
:country_iso_code => "HU",
:url => "http://kimittud.atlatszo.hu/"},
{:name => "PravoDaSznam",
:country_name => "Bosna i Hercegovina",
:country_iso_code => "BA",
:url => "http://www.pravodaznam.ba/"},
{:name => "Acceso Intelligente",
:country_name => "Chile",
:country_iso_code => "CL",
:url => "accesointeligente.org"}]
return world_foi_websites
end
def self.by_code(code)
result = self.world_foi_websites.find{|x| x[:country_iso_code].downcase == code.downcase}
return result
end
end
Jump to Line
Something went wrong with that request. Please try again.