Sha256: 1b53e146c56178179728a3a82bf75309b545c626ed248b6adaaeda08cc5cd8ec

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

module TedApi
  class Client
    module Countries
      
      ##
      # http://developer.ted.com/API_Docs#countries
      
      def countries(country=nil, options={}, raw=false)
        if country.nil?
          get('countries', options, raw)
        else
          get("countries/#{country}", options, raw)
        end
      end
      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ted_api-0.1 lib/ted_api/client/countries.rb