Module: TedApi::Client::Countries

Included in:
TedApi::Client
Defined in:
lib/ted_api/client/countries.rb

Instance Method Summary collapse

Instance Method Details

#countries(country = nil, options = {}, raw = false) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/ted_api/client/countries.rb', line 8

def countries(country=nil, options={}, raw=false)
  if country.nil?
    get('countries', options, raw)
  else
    get("countries/#{country}", options, raw)
  end
end