Sha256: a74ee64fbd820b8e3cff50549fa75d3b0bc909adc0d87407e1dd106cf086cf88

Contents?: true

Size: 516 Bytes

Versions: 44

Compression:

Stored size: 516 Bytes

Contents

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

      class Mock
        def list_vnfds(_options = {})
          response = Excon::Response.new
          response.status = 200
          response.body = {"vnfds" => data[:vnfds]}
          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_vnfds.rb
fog-openstack-0.3.10 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.1.30 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.1.29 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.9 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.1.28 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.8 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.7 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.6 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.5 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.4 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.3 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.2 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.3.0 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.2.4 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.2.3 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.2.2 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.2.1 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-openstack-0.2.0 lib/fog/nfv/openstack/requests/list_vnfds.rb
fog-zj-0.1.28 lib/fog/nfv/openstack/requests/list_vnfds.rb