class Masker

Attributes

adapter[R]

Public Class Methods

new(database_url:, config_path:, logger: NullObject.new, opts: {}) click to toggle source
# File lib/masker.rb, line 9
def initialize(database_url:, config_path:, logger: NullObject.new, opts: {})
  @adapter = Adapters::Postgres.new(database_url, config_path, logger, opts)
end

Public Instance Methods

mask() click to toggle source
# File lib/masker.rb, line 13
def mask
  adapter.mask
end