Sha256: 0b9cb8edd571eef9591cf90fa2ce3ad9fccb7b11a88e25a364ac91d9aa98b880

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 Bytes

Contents

require 'rackspace-fog/core/collection'
require 'rackspace-fog/aws/models/beanstalk/event'

module Fog
  module AWS
    class ElasticBeanstalk

      class Events < Fog::Collection
        model Fog::AWS::ElasticBeanstalk::Event

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

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-fog-1.4.2 lib/rackspace-fog/aws/models/beanstalk/events.rb