Sha256: 353df4f440b834fdb0cd9d9cb242041ad58641a4a35b778646f99df7f992b126

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

module Fog
  module Linode
    class Real

      # Get available plans
      #
      # ==== Returns
      # * response<~Excon::Response>:
      #   * body<~Array>:
      # TODO: docs
      def avail_linodeplans
        request(
          :expects  => 200,
          :method   => 'GET',
          :query    => { :api_action => 'avail.linodeplans' }
        )
      end

    end

    class Mock

      def avail_linodeplans
        Fog::Mock.not_implemented
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-0.2.15 lib/fog/linode/requests/avail_linodeplans.rb
fog-0.2.14 lib/fog/linode/requests/avail_linodeplans.rb
fog-0.2.13 lib/fog/linode/requests/avail_linodeplans.rb
fog-0.2.12 lib/fog/linode/requests/avail_linodeplans.rb