Module: TedApi::Client::Themes

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

Instance Method Summary collapse

Instance Method Details

#themes(theme = nil, options = {}, raw = false) ⇒ Object



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

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