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:



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

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:



1647
1648
1649
# File 'sig/types.rbs', line 1647

def category
  @category
end

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


1646
1647
1648
# File 'sig/types.rbs', line 1646

def end
  @end
end

#replacement_tokenString (readonly)

Returns the value of attribute replacement_token.

Returns:

  • (String)


1649
1650
1651
# File 'sig/types.rbs', line 1649

def replacement_token
  @replacement_token
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


1645
1646
1647
# File 'sig/types.rbs', line 1645

def start
  @start
end

#strategyRedactionStrategy (readonly)

Returns the value of attribute strategy.

Returns:



1648
1649
1650
# File 'sig/types.rbs', line 1648

def strategy
  @strategy
end