Sha256: ae5506bdda8fefc8f033ef0f10920426f65ebea171e339e350be601f693d9e21

Contents?: true

Size: 445 Bytes

Versions: 32

Compression:

Stored size: 445 Bytes

Contents

module Fog
  module Compute
    class Linode
      class Real

        def avail_stackscripts(options={})
          result = request(
            :expects  => 200,
            :method   => 'GET',
            :query    => { :api_action => 'avail.stackscripts' }.merge!(options)
          )
          result.body['DATA'].each { |r| r['DISTRIBUTIONIDLIST'] = r['DISTRIBUTIONIDLIST'].to_s }
          result
        end

      end
    end
  end
end

Version data entries

32 entries across 32 versions & 8 rubygems

Version Path
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/avail_stackscripts.rb
tag-fog-1.0.1 lib/fog/linode/requests/compute/avail_stackscripts.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/avail_stackscripts.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/linode/requests/compute/avail_stackscripts.rb
fog-1.0.0 lib/fog/linode/requests/compute/avail_stackscripts.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_stackscripts.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/linode/avail_stackscripts.rb
fog-0.11.0 lib/fog/compute/requests/linode/avail_stackscripts.rb
fog-0.10.0 lib/fog/compute/requests/linode/avail_stackscripts.rb
fog4encbs-0.9.0.1 lib/fog/compute/requests/linode/avail_stackscripts.rb
fog4encbs-0.9.0 lib/fog/compute/requests/linode/avail_stackscripts.rb
fog-0.9.0 lib/fog/compute/requests/linode/avail_stackscripts.rb