Class: Fog::OpenStack::Orchestration::Events
- Inherits:
-
Collection
- Object
- Collection
- Collection
- Fog::OpenStack::Orchestration::Events
- Defined in:
- lib/fog/openstack/orchestration/models/events.rb
Instance Attribute Summary
Attributes inherited from Collection
Instance Method Summary collapse
Methods inherited from Collection
#destroy, #find_by_id, #load_response, #summary
Instance Method Details
#all(options = {}, options_deprecated = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/openstack/orchestration/models/events.rb', line 10 def all( = {}, = {}) data = if .kind_of?(Stack) service.list_stack_events(, ) elsif .kind_of?(Hash) service.list_events() else service.list_resource_events(.stack, , ) end load_response(data, 'events') end |