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.31 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.10 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.1.30 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.1.29 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.9 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.1.28 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.8 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.7 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.6 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.5 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.4 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.3 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.2 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.3.0 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.2.4 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.2.3 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.2.2 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.2.1 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-openstack-0.2.0 lib/fog/nfv/openstack/requests/list_vnfs.rb
fog-zj-0.1.28 lib/fog/nfv/openstack/requests/list_vnfs.rb