Sha256: 6de05c714d1494df689a795cd9c5a6568ceecba1f70b20701aea9fc5a1483fa7

Contents?: true

Size: 511 Bytes

Versions: 44

Compression:

Stored size: 511 Bytes

Contents

module Fog
  module NFV
    class OpenStack
      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

44 entries across 42 versions & 3 rubygems

Version Path
fog-openstack-0.1.9 lib/fog/openstack/requests/nfv/list_vnfs.rb
fog-openstack-0.1.8 lib/fog/openstack/requests/nfv/list_vnfs.rb
fog-openstack-0.1.7 lib/fog/openstack/requests/nfv/list_vnfs.rb
fog-openstack-0.1.6 lib/fog/openstack/requests/nfv/list_vnfs.rb