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
Instance Method Details
#all(obj, options = {}) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/fog/openstack/models/orchestration/events.rb', line 9 def all(obj, ={}) data = if obj.is_a?(Stack) service.list_stack_events(obj, ).body['events'] else service.list_resource_events(obj.stack, obj, ).body['events'] end load data end |