Module: DataHoover
- Defined in:
- lib/data_hoover.rb,
lib/data_hoover/nozzle.rb,
lib/data_hoover/version.rb,
lib/data_hoover/bags/segment_analytics.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.1.1'.freeze
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
-
.traits ⇒ Object
Returns the value of attribute traits.
Class Method Summary collapse
- .anonymize(entry) ⇒ Object (also: anon)
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
14 15 16 |
# File 'lib/data_hoover.rb', line 14 def logger @logger end |
.traits ⇒ Object
Returns the value of attribute traits.
14 15 16 |
# File 'lib/data_hoover.rb', line 14 def traits @traits end |
Class Method Details
.anonymize(entry) ⇒ Object Also known as: anon
16 17 18 19 |
# File 'lib/data_hoover.rb', line 16 def anonymize(entry) return if entry.nil? Digest::SHA256.hexdigest(entry.to_s) end |