Class: Hawkular::Alerts::Event
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Hawkular::Alerts::Event
- Defined in:
- lib/hawkular/alerts/alerts_api.rb
Overview
Representation of one event. The name of the members are literally what they are in the JSON sent from the server and not 'rubyfied'. So 'eventId' and not 'event_id' Check www.hawkular.org/docs/rest/rest-alerts.html#Event for details
Instance Method Summary collapse
-
#initialize(event_hash) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(event_hash) ⇒ Event
Returns a new instance of Event
613 614 615 |
# File 'lib/hawkular/alerts/alerts_api.rb', line 613 def initialize(event_hash) super(event_hash) end |