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:



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

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

Instance Attribute Details

#categoryPiiCategory (readonly)

Returns the value of attribute category.

Returns:



1718
1719
1720
# File 'sig/types.rbs', line 1718

def category
  @category
end

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


1717
1718
1719
# File 'sig/types.rbs', line 1717

def end
  @end
end

#replacement_tokenString (readonly)

Returns the value of attribute replacement_token.

Returns:

  • (String)


1720
1721
1722
# File 'sig/types.rbs', line 1720

def replacement_token
  @replacement_token
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


1716
1717
1718
# File 'sig/types.rbs', line 1716

def start
  @start
end

#strategyRedactionStrategy (readonly)

Returns the value of attribute strategy.

Returns:



1719
1720
1721
# File 'sig/types.rbs', line 1719

def strategy
  @strategy
end