Sha256: aa3bc4c7d33ec32da8a6893e6ae2b6f88277ab063b15d1056f7e38f3582328be

Contents?: true

Size: 576 Bytes

Versions: 4

Compression:

Stored size: 576 Bytes

Contents

module Fog
  module SharedFileSystem
    class HuaweiCloud
      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-huaweicloud-0.0.3 lib/fog/shared_file_system/huaweicloud/requests/list_share_networks.rb
fog-huaweicloud-0.0.2 lib/fog/shared_file_system/huaweicloud/requests/list_share_networks.rb
fog-huaweicloud-0.1.3 lib/fog/shared_file_system/huaweicloud/requests/list_share_networks.rb
fog-huaweicloud-0.1.2 lib/fog/shared_file_system/huaweicloud/requests/list_share_networks.rb