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

Modules: Bags Classes: Nozzle

Constant Summary collapse

VERSION =
'0.1.1'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



14
15
16
# File 'lib/data_hoover.rb', line 14

def logger
  @logger
end

.traitsObject

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