Sha256: b8ffedd2d72bc88486596faceca2278c7fa34c9009a46977b1809d9467e62828

Contents?: true

Size: 628 Bytes

Versions: 10

Compression:

Stored size: 628 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Shows details of the specified collaboration
        #
        # @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_get_user_collaboration
        #
        def get_user_collaboration(identifier)
          return nil if identifier.nil? || identifier == ""
          wrapped_request("get", "/1.0/user/collaborations/#{identifier}", [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/get_user_collaboration.rb
fog-brightbox-0.6.0 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.5.1 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.5.0 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.4.1 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.4.0 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.3.0 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.2.0 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.1.1 lib/fog/brightbox/requests/compute/get_user_collaboration.rb
fog-brightbox-0.1.0 lib/fog/brightbox/requests/compute/get_user_collaboration.rb