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)


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

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)


692
693
694
# File 'sig/types.rbs', line 692

def max_archive_size
  @max_archive_size
end

#max_compression_ratioInteger?

Returns the value of attribute max_compression_ratio.

Returns:

  • (Integer, nil)


693
694
695
# File 'sig/types.rbs', line 693

def max_compression_ratio
  @max_compression_ratio
end

#max_content_sizeInteger?

Returns the value of attribute max_content_size.

Returns:

  • (Integer, nil)


697
698
699
# File 'sig/types.rbs', line 697

def max_content_size
  @max_content_size
end

#max_entity_lengthInteger?

Returns the value of attribute max_entity_length.

Returns:

  • (Integer, nil)


696
697
698
# File 'sig/types.rbs', line 696

def max_entity_length
  @max_entity_length
end

#max_files_in_archiveInteger?

Returns the value of attribute max_files_in_archive.

Returns:

  • (Integer, nil)


694
695
696
# File 'sig/types.rbs', line 694

def max_files_in_archive
  @max_files_in_archive
end

#max_iterationsInteger?

Returns the value of attribute max_iterations.

Returns:

  • (Integer, nil)


698
699
700
# File 'sig/types.rbs', line 698

def max_iterations
  @max_iterations
end

#max_nesting_depthInteger?

Returns the value of attribute max_nesting_depth.

Returns:

  • (Integer, nil)


695
696
697
# File 'sig/types.rbs', line 695

def max_nesting_depth
  @max_nesting_depth
end

#max_table_cellsInteger?

Returns the value of attribute max_table_cells.

Returns:

  • (Integer, nil)


700
701
702
# File 'sig/types.rbs', line 700

def max_table_cells
  @max_table_cells
end

#max_xml_depthInteger?

Returns the value of attribute max_xml_depth.

Returns:

  • (Integer, nil)


699
700
701
# File 'sig/types.rbs', line 699

def max_xml_depth
  @max_xml_depth
end

Class Method Details

.defaultSecurityLimits

Returns:



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

def self.default: () -> SecurityLimits