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.9 lib/fog/openstack/requests/nfv/list_vnfds.rb
fog-openstack-0.1.8 lib/fog/openstack/requests/nfv/list_vnfds.rb
fog-openstack-0.1.7 lib/fog/openstack/requests/nfv/list_vnfds.rb
fog-openstack-0.1.6 lib/fog/openstack/requests/nfv/list_vnfds.rb