module Demio::Client::Events

Public Instance Methods

events(type = nil) click to toggle source

Fetches all events from Demio

@param type [String] @return [Net::HTTPOk]

# File lib/demio/events.rb, line 10
def events(type = nil)
  type_param = type ? "?type=#{type}" : nil
  get "events#{type_param}"
end