Sha256: 40e227359cf54db417265c0f36964fc16550922040365c51a22ea88b00f91ed8

Contents?: true

Size: 755 Bytes

Versions: 1

Compression:

Stored size: 755 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

1 entries across 1 versions & 1 rubygems

Version Path
fog-brightbox-0.1.0 lib/fog/brightbox/requests/compute/list_events.rb