Class: Xberg::SecurityLimits

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

Instance Attribute 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)
  • max_pages: (Integer)


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

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, ?max_pages: Integer) -> void

Instance Attribute Details

#max_archive_sizeInteger (readonly)

Returns the value of attribute max_archive_size.

Returns:

  • (Integer)


2340
2341
2342
# File 'sig/types.rbs', line 2340

def max_archive_size
  @max_archive_size
end

#max_compression_ratioInteger (readonly)

Returns the value of attribute max_compression_ratio.

Returns:

  • (Integer)


2341
2342
2343
# File 'sig/types.rbs', line 2341

def max_compression_ratio
  @max_compression_ratio
end

#max_content_sizeInteger (readonly)

Returns the value of attribute max_content_size.

Returns:

  • (Integer)


2345
2346
2347
# File 'sig/types.rbs', line 2345

def max_content_size
  @max_content_size
end

#max_entity_lengthInteger (readonly)

Returns the value of attribute max_entity_length.

Returns:

  • (Integer)


2344
2345
2346
# File 'sig/types.rbs', line 2344

def max_entity_length
  @max_entity_length
end

#max_files_in_archiveInteger (readonly)

Returns the value of attribute max_files_in_archive.

Returns:

  • (Integer)


2342
2343
2344
# File 'sig/types.rbs', line 2342

def max_files_in_archive
  @max_files_in_archive
end

#max_iterationsInteger (readonly)

Returns the value of attribute max_iterations.

Returns:

  • (Integer)


2346
2347
2348
# File 'sig/types.rbs', line 2346

def max_iterations
  @max_iterations
end

#max_nesting_depthInteger (readonly)

Returns the value of attribute max_nesting_depth.

Returns:

  • (Integer)


2343
2344
2345
# File 'sig/types.rbs', line 2343

def max_nesting_depth
  @max_nesting_depth
end

#max_pagesInteger? (readonly)

Returns the value of attribute max_pages.

Returns:

  • (Integer, nil)


2349
2350
2351
# File 'sig/types.rbs', line 2349

def max_pages
  @max_pages
end

#max_table_cellsInteger (readonly)

Returns the value of attribute max_table_cells.

Returns:

  • (Integer)


2348
2349
2350
# File 'sig/types.rbs', line 2348

def max_table_cells
  @max_table_cells
end

#max_xml_depthInteger (readonly)

Returns the value of attribute max_xml_depth.

Returns:

  • (Integer)


2347
2348
2349
# File 'sig/types.rbs', line 2347

def max_xml_depth
  @max_xml_depth
end