Sha256: 02749a948ee16a1cfa083da6e43dfae53a74dc069224d4c4bd67b8d30a442a2c
Contents?: true
Size: 510 Bytes
Versions: 76
Compression:
Stored size: 510 Bytes
Contents
module Fog module Network class OpenStack class Real def list_ports(filters = {}) request( :expects => 200, :method => 'GET', :path => 'ports', :query => filters ) end end class Mock def list_ports(filters = {}) Excon::Response.new( :body => { 'ports' => self.data[:ports].values }, :status => 200 ) end end end end end
Version data entries
76 entries across 76 versions & 10 rubygems