Module: TedApi::Client::Quotes

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

Instance Method Summary collapse

Instance Method Details

#quotes(quote = nil, options = {}, raw = false) ⇒ Object



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

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