Class: Fog::AWS::ElasticBeanstalk::Events

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/aws/models/beanstalk/events.rb

Instance Method Summary collapse

Instance Method Details

#all(options = {}) ⇒ Object



9
10
11
12
# File 'lib/fog/aws/models/beanstalk/events.rb', line 9

def all(options={})
  data = service.describe_events(options).body['DescribeEventsResult']['Events']
  load(data) # data is an array of attribute hashes
end