Sha256: 47751571d6ea1a8419fa5e39eaa3d168c81809adac6c1618376e04d2f53d9c76

Contents?: true

Size: 574 Bytes

Versions: 4

Compression:

Stored size: 574 Bytes

Contents

module Fog
  module SharedFileSystem
    class OpenStack
      class Real
        def list_share_networks(options = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => 'share_networks',
            :query   => options
          )
        end
      end

      class Mock
        def list_share_networks(_options = {})
          response = Excon::Response.new
          response.status = 200
          response.body = {'share_networks' => data[:share_networks]}
          response
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-openstack-0.1.20 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.1.19 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.1.18 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.1.17 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb