Sha256: 5a26bcb6e34b5f0d5a2875be74e106f1538811770f608755d3253556667c0290

Contents?: true

Size: 591 Bytes

Versions: 4

Compression:

Stored size: 591 Bytes

Contents

module Fog
  module SharedFileSystem
    class HuaweiCloud
      class Real
        def list_security_services(options = {})
          request(
            :expects => 200,
            :method  => 'GET',
            :path    => 'security-services',
            :query   => options
          )
        end
      end

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