Class: Fog::Orchestration::OpenStack::Events
- Inherits:
-
Collection
- Object
- Collection
- Fog::Orchestration::OpenStack::Events
- Defined in:
- lib/fog/openstack/models/orchestration/events.rb
Instance Method Summary collapse
- #all(options = {}, options_deprecated = {}) ⇒ Object (also: #summary)
- #get(stack, resource, event_id) ⇒ Object
Instance Method Details
#all(options = {}, options_deprecated = {}) ⇒ Object Also known as: summary
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fog/openstack/models/orchestration/events.rb', line 9 def all( = {}, = {}) data = if .is_a?(Stack) service.list_stack_events(, ).body['events'] elsif .is_a?(Hash) service.list_events().body['events'] else service.list_resource_events(.stack, , ).body['events'] end load data end |