Module: TedApi::Client::Tags

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

Instance Method Summary collapse

Instance Method Details

#tags(tag = nil, options = {}, raw = false) ⇒ Object



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

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