Sha256: ae48b4f73c796a6104baa9730af69914dbdaee3e97535e6aa5933968a1e5d3a7

Contents?: true

Size: 468 Bytes

Versions: 32

Compression:

Stored size: 468 Bytes

Contents

module Fog
  module Compute
    class Linode
      class Real

        def linode_disk_list(linode_id, disk_id=nil)
          options = {}
          if disk_id
            options.merge!(:diskId => disk_id)
          end          
          request(
            :expects  => 200,
            :method   => 'GET',
            :query    => { :api_action => 'linode.disk.list', :linodeId => linode_id }.merge!(options)
          )
        end

      end
    end
  end
end

Version data entries

32 entries across 32 versions & 8 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
michiels-fog-1.3.1 lib/fog/linode/requests/compute/linode_disk_list.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
fog-1.3.1 lib/fog/linode/requests/compute/linode_disk_list.rb
fog-1.3.0 lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
fog-1.2.0 lib/fog/linode/requests/compute/linode_disk_list.rb
ktheory-fog-1.1.2 lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
fog-1.1.2 lib/fog/linode/requests/compute/linode_disk_list.rb
fog_tractical-1.1.4 lib/fog/linode/requests/compute/linode_disk_list.rb
fog_tractical-1.1.3 lib/fog/linode/requests/compute/linode_disk_list.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/linode_disk_list.rb
fog-1.1.1 lib/fog/linode/requests/compute/linode_disk_list.rb
fog-1.1.0 lib/fog/linode/requests/compute/linode_disk_list.rb