Sha256: 93981d54d6ea173cc6d76ea49340cbc12defe6127480e1ee2955a3f090f22c5e

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

module Fog
  module NFV
    class HuaweiCloud
      class Real
        def list_vnfs(options = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => "vnfs",
            :query   => options
          )
        end
      end

      class Mock
        def list_vnfs(_options = {})
          response = Excon::Response.new
          response.status = 200
          response.body = {"vnfs" => data[:vnfs]}
          response
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/nfv/huaweicloud/requests/list_vnfs.rb
fog-huaweicloud-0.0.2 lib/fog/nfv/huaweicloud/requests/list_vnfs.rb
fog-huaweicloud-0.1.3 lib/fog/nfv/huaweicloud/requests/list_vnfs.rb
fog-huaweicloud-0.1.2 lib/fog/nfv/huaweicloud/requests/list_vnfs.rb