Sha256: a14e17292eadfdf7059b2108674e89de07d189289a7e25f5596559376ceffa43

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 Bytes

Contents

class MyMapper
  def initialize
    @hash = {
      'dan' => 'acme',
      'paul' => 'jetson',
      'mike' => 'acme'
    }
  end

  def before_shutdown
    # Put any cleanup code in here
  end

  def find_account_id(username, client_ip)
    @hash[username]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nfagent-0.9.28 test/plugins/my_mapper.rb
nfagent-0.9.27 test/plugins/my_mapper.rb
nfagent-0.9.26 test/plugins/my_mapper.rb
nfagent-0.9.20 test/plugins/my_mapper.rb