Sha256: 4db3703368d0bf9ed466346ab9b153b7b6ec565c99079cb8685ded63a8fa5d2c

Contents?: true

Size: 579 Bytes

Versions: 4

Compression:

Stored size: 579 Bytes

Contents

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

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