Sha256: 4f87f1e5ef44605f69f0e79273d75f7c722ab1d82efd85a3f41917aa41abe0c3

Contents?: true

Size: 574 Bytes

Versions: 30

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

30 entries across 28 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.10 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.1.30 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.1.29 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.9 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.1.28 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.8 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.7 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.6 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.5 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.4 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.3 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.2 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.3.0 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.2.4 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.2.3 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.2.2 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.2.1 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-openstack-0.2.0 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb
fog-zj-0.1.28 lib/fog/shared_file_system/openstack/requests/list_share_networks.rb