Sha256: 3196403a2f6948aa098b60e2f4962666a654420a746bdb577bfb5feb09fe32c7
Contents?: true
Size: 503 Bytes
Versions: 22
Compression:
Stored size: 503 Bytes
Contents
module Fog module OpenStack class Network 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' => data[:ports].values}, :status => 200 ) end end end end end
Version data entries
22 entries across 22 versions & 3 rubygems