Sha256: 2941fb718188559c758039f09fd4d7ac3708533957fa3ada31d88cebac3fab38

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

module TedApi
  class Client
    module Speakers
      
      ##
      # http://developer.ted.com/API_Docs#speakers
      
      def speakers(speaker=nil, options={}, raw=false)
        if speaker.nil?
          get('speakers', options, raw)
        else
          get("speakers/#{speaker}", 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/speakers.rb