Sha256: 5bc733f2cff3c2973bbcf83e3514144a98b1e4c5b0153280e0c63c914b097edf

Contents?: true

Size: 760 Bytes

Versions: 9

Compression:

Stored size: 760 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Lists events related to the account.
        #
        # @api private
        #
        # @param [Hash] options
        # @option options [String] :limit Limit of pagination
        # @option options [String] :offset Offset of pagination
        # @option options [String] :resource_id Filter events for given resource_id
        #
        # @return [Hash] if successful Hash version of JSON object
        # @return [NilClass] if no options were passed
        #
        # @see https://api.gb1.brightbox.com/1.0/#event_list_events
        #
        def list_events(options = {})
          wrapped_request("get", "/1.0/events", [200], options)
        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fog-brightbox-0.6.1 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.6.0 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.5.1 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.5.0 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.4.1 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.4.0 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.3.0 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.2.0 lib/fog/brightbox/requests/compute/list_events.rb
fog-brightbox-0.1.1 lib/fog/brightbox/requests/compute/list_events.rb