Sha256: 939ee8f2ca8e2ce5f2db2fca3fd4041dbbf630dc0a4943648860b240d8e9ce42

Contents?: true

Size: 598 Bytes

Versions: 10

Compression:

Stored size: 598 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Shows details of the 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/#collaboration_get_collaboration
        #
        def get_collaboration(identifier)
          return nil if identifier.nil? || identifier == ""
          wrapped_request("get", "/1.0/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_collaboration.rb
fog-brightbox-0.6.0 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.5.1 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.5.0 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.4.1 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.4.0 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.3.0 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.2.0 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.1.1 lib/fog/brightbox/requests/compute/get_collaboration.rb
fog-brightbox-0.1.0 lib/fog/brightbox/requests/compute/get_collaboration.rb