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)


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

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)


721
722
723
# File 'sig/types.rbs', line 721

def max_archive_size
  @max_archive_size
end

#max_compression_ratioInteger?

Returns the value of attribute max_compression_ratio.

Returns:

  • (Integer, nil)


722
723
724
# File 'sig/types.rbs', line 722

def max_compression_ratio
  @max_compression_ratio
end

#max_content_sizeInteger?

Returns the value of attribute max_content_size.

Returns:

  • (Integer, nil)


726
727
728
# File 'sig/types.rbs', line 726

def max_content_size
  @max_content_size
end

#max_entity_lengthInteger?

Returns the value of attribute max_entity_length.

Returns:

  • (Integer, nil)


725
726
727
# File 'sig/types.rbs', line 725

def max_entity_length
  @max_entity_length
end

#max_files_in_archiveInteger?

Returns the value of attribute max_files_in_archive.

Returns:

  • (Integer, nil)


723
724
725
# File 'sig/types.rbs', line 723

def max_files_in_archive
  @max_files_in_archive
end

#max_iterationsInteger?

Returns the value of attribute max_iterations.

Returns:

  • (Integer, nil)


727
728
729
# File 'sig/types.rbs', line 727

def max_iterations
  @max_iterations
end

#max_nesting_depthInteger?

Returns the value of attribute max_nesting_depth.

Returns:

  • (Integer, nil)


724
725
726
# File 'sig/types.rbs', line 724

def max_nesting_depth
  @max_nesting_depth
end

#max_table_cellsInteger?

Returns the value of attribute max_table_cells.

Returns:

  • (Integer, nil)


729
730
731
# File 'sig/types.rbs', line 729

def max_table_cells
  @max_table_cells
end

#max_xml_depthInteger?

Returns the value of attribute max_xml_depth.

Returns:

  • (Integer, nil)


728
729
730
# File 'sig/types.rbs', line 728

def max_xml_depth
  @max_xml_depth
end

Class Method Details

.defaultSecurityLimits

Returns:



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

def self.default: () -> SecurityLimits