Sha256: 2c9d67715159c62303fcd55e6b566a32cf3dbba6807819e90ea1ed8888d5a5ec

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

module Fog
  module SharedFileSystem
    class HuaweiCloud
      class Real
        def list_shares_detail(options = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => 'shares/detail',
            :query   => options
          )
        end
      end

      class Mock
        def list_shares_detail(_options = {})
          response = Excon::Response.new
          response.status = 200
          response.body = {'shares' => data[:shares_detail]}
          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_shares_detail.rb
fog-huaweicloud-0.0.2 lib/fog/shared_file_system/huaweicloud/requests/list_shares_detail.rb
fog-huaweicloud-0.1.3 lib/fog/shared_file_system/huaweicloud/requests/list_shares_detail.rb
fog-huaweicloud-0.1.2 lib/fog/shared_file_system/huaweicloud/requests/list_shares_detail.rb