Sha256: 0953038a6c6ab50c0651fd843c4be445caaa7f891bc1f35cec2ba1e54bd2e3af

Contents?: true

Size: 605 Bytes

Versions: 4

Compression:

Stored size: 605 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Lists all available network offerings.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/listNetworkOfferings.html]
        def list_network_offerings(*args)
          options = {}
          if args[0].is_a? Hash
            options = args[0]
            options.merge!('command' => 'listNetworkOfferings') 
          else
            options.merge!('command' => 'listNetworkOfferings')
          end
          request(options)
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fog-1.26.0 lib/fog/cloudstack/requests/compute/list_network_offerings.rb
fog-1.25.0 lib/fog/cloudstack/requests/compute/list_network_offerings.rb
nsidc-fog-1.24.1 lib/fog/cloudstack/requests/compute/list_network_offerings.rb
fog-1.24.0 lib/fog/cloudstack/requests/compute/list_network_offerings.rb