Class: Xberg::RedactionFinding

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRedactionFinding

Returns a new instance of RedactionFinding.

Parameters:

  • start: (Integer)
  • end: (Integer)
  • category: (PiiCategory)
  • strategy: (enum_RedactionStrategy)
  • replacement_token: (String)


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

def initialize: (start: Integer, end: Integer, category: PiiCategory, strategy: enum_RedactionStrategy, replacement_token: String) -> void

Instance Attribute Details

#categoryPiiCategory (readonly)

Returns the value of attribute category.

Returns:



2258
2259
2260
# File 'sig/types.rbs', line 2258

def category
  @category
end

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


2257
2258
2259
# File 'sig/types.rbs', line 2257

def end
  @end
end

#replacement_tokenString (readonly)

Returns the value of attribute replacement_token.

Returns:

  • (String)


2260
2261
2262
# File 'sig/types.rbs', line 2260

def replacement_token
  @replacement_token
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


2256
2257
2258
# File 'sig/types.rbs', line 2256

def start
  @start
end

#strategyenum_RedactionStrategy (readonly)

Returns the value of attribute strategy.

Returns:

  • (enum_RedactionStrategy)


2259
2260
2261
# File 'sig/types.rbs', line 2259

def strategy
  @strategy
end