Module: Controls::Client::Events
- Included in:
- Controls::Client
- Defined in:
- lib/controls/client/events.rb
Overview
A module to encapsulate API methods related to events
Event Methods collapse
-
#events(params = {}) ⇒ Hash
Either returns a list of all events or all events by type.
Instance Method Details
#events(params = {}) ⇒ Hash
Either returns a list of all events or all events by type
16 17 18 |
# File 'lib/controls/client/events.rb', line 16 def events(params = {}) get '/events', params end |