Sha256: 36ac9549b835d06c3cc9dd64ae50ff1bf13124559384e1fcf11c6b28bb8835aa

Contents?: true

Size: 652 Bytes

Versions: 10

Compression:

Stored size: 652 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Accepts the collaboration giving access to the account
        #
        # @param [String] identifier Unique reference to identify the resource
        #
        # @return [Hash] if successful Hash version of JSON object
        #
        # @see https://api.gb1.brightbox.com/1.0/#user_collaboration_accept_user_collaboration
        #
        def accept_user_collaboration(identifier)
          return nil if identifier.nil? || identifier == ""
          wrapped_request("post", "/1.0/user/collaborations/#{identifier}/accept", [200])
        end

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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