Sha256: ec4ebc8d1e6a5fd7f6440d5efc2cfa3588ed46fbf85dcde59b19bb32d3a601ea

Contents?: true

Size: 581 Bytes

Versions: 7

Compression:

Stored size: 581 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # Get full details of the interface.
        #
        # @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/#interface_get_interface
        #
        def get_interface(identifier)
          return nil if identifier.nil? || identifier == ""
          wrapped_request("get", "/1.0/interfaces/#{identifier}", [200])
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-brightbox-0.9.0/lib/fog/brightbox/requests/compute/get_interface.rb
fog-brightbox-0.9.0 lib/fog/brightbox/requests/compute/get_interface.rb
fog-brightbox-0.8.0 lib/fog/brightbox/requests/compute/get_interface.rb
fog-brightbox-0.7.2 lib/fog/brightbox/requests/compute/get_interface.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-brightbox-0.7.1/lib/fog/brightbox/requests/compute/get_interface.rb
fog-brightbox-0.7.1 lib/fog/brightbox/requests/compute/get_interface.rb
fog-brightbox-0.7.0 lib/fog/brightbox/requests/compute/get_interface.rb