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, ={}, raw=false) if event.nil? get('events', , raw) else get("events/#{event}", , raw) end end |