Module: TedApi::Client::Events

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

Instance Method Summary collapse

Instance Method Details

#events(event = nil, options = {}, raw = false) ⇒ Object



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

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