Class: Fog::Orchestration::OpenStack::Events
- Inherits:
-
Fog::OpenStack::Collection
- Object
- Collection
- Fog::OpenStack::Collection
- Fog::Orchestration::OpenStack::Events
- Defined in:
- lib/fog/orchestration/openstack/models/events.rb
Instance Attribute Summary
Attributes inherited from Fog::OpenStack::Collection
Instance Method Summary collapse
Methods inherited from Fog::OpenStack::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/orchestration/openstack/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 |