Module: Demio::Client::Events
- Included in:
- Demio::Client
- Defined in:
- lib/demio/events.rb
Instance Method Summary collapse
-
#events(type = nil) ⇒ Net::HTTPOk
Fetches all events from Demio.
Instance Method Details
#events(type = nil) ⇒ Net::HTTPOk
Fetches all events from Demio
10 11 12 13 |
# File 'lib/demio/events.rb', line 10 def events(type = nil) type_param = type ? "?type=#{type}" : nil get "events#{type_param}" end |