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:



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

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:



1637
1638
1639
# File 'sig/types.rbs', line 1637

def category
  @category
end

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


1636
1637
1638
# File 'sig/types.rbs', line 1636

def end
  @end
end

#replacement_tokenString (readonly)

Returns the value of attribute replacement_token.

Returns:

  • (String)


1639
1640
1641
# File 'sig/types.rbs', line 1639

def replacement_token
  @replacement_token
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


1635
1636
1637
# File 'sig/types.rbs', line 1635

def start
  @start
end

#strategyRedactionStrategy (readonly)

Returns the value of attribute strategy.

Returns:



1638
1639
1640
# File 'sig/types.rbs', line 1638

def strategy
  @strategy
end