Class: Xberg::SecurityLimits

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSecurityLimits

Returns a new instance of SecurityLimits.

Parameters:

  • max_archive_size: (Integer)
  • max_compression_ratio: (Integer)
  • max_files_in_archive: (Integer)
  • max_nesting_depth: (Integer)
  • max_entity_length: (Integer)
  • max_content_size: (Integer)
  • max_iterations: (Integer)
  • max_xml_depth: (Integer)
  • max_table_cells: (Integer)


672
# File 'sig/types.rbs', line 672

def initialize: (?max_archive_size: Integer, ?max_compression_ratio: Integer, ?max_files_in_archive: Integer, ?max_nesting_depth: Integer, ?max_entity_length: Integer, ?max_content_size: Integer, ?max_iterations: Integer, ?max_xml_depth: Integer, ?max_table_cells: Integer) -> void

Instance Attribute Details

#max_archive_sizeInteger?

Returns the value of attribute max_archive_size.

Returns:

  • (Integer, nil)


662
663
664
# File 'sig/types.rbs', line 662

def max_archive_size
  @max_archive_size
end

#max_compression_ratioInteger?

Returns the value of attribute max_compression_ratio.

Returns:

  • (Integer, nil)


663
664
665
# File 'sig/types.rbs', line 663

def max_compression_ratio
  @max_compression_ratio
end

#max_content_sizeInteger?

Returns the value of attribute max_content_size.

Returns:

  • (Integer, nil)


667
668
669
# File 'sig/types.rbs', line 667

def max_content_size
  @max_content_size
end

#max_entity_lengthInteger?

Returns the value of attribute max_entity_length.

Returns:

  • (Integer, nil)


666
667
668
# File 'sig/types.rbs', line 666

def max_entity_length
  @max_entity_length
end

#max_files_in_archiveInteger?

Returns the value of attribute max_files_in_archive.

Returns:

  • (Integer, nil)


664
665
666
# File 'sig/types.rbs', line 664

def max_files_in_archive
  @max_files_in_archive
end

#max_iterationsInteger?

Returns the value of attribute max_iterations.

Returns:

  • (Integer, nil)


668
669
670
# File 'sig/types.rbs', line 668

def max_iterations
  @max_iterations
end

#max_nesting_depthInteger?

Returns the value of attribute max_nesting_depth.

Returns:

  • (Integer, nil)


665
666
667
# File 'sig/types.rbs', line 665

def max_nesting_depth
  @max_nesting_depth
end

#max_table_cellsInteger?

Returns the value of attribute max_table_cells.

Returns:

  • (Integer, nil)


670
671
672
# File 'sig/types.rbs', line 670

def max_table_cells
  @max_table_cells
end

#max_xml_depthInteger?

Returns the value of attribute max_xml_depth.

Returns:

  • (Integer, nil)


669
670
671
# File 'sig/types.rbs', line 669

def max_xml_depth
  @max_xml_depth
end

Class Method Details

.defaultSecurityLimits

Returns:



673
# File 'sig/types.rbs', line 673

def self.default: () -> SecurityLimits