about summary refs log tree commit diff
path: root/app/lib/proof_provider.rb
blob: 102c50f4f9ef83e3abf8773bd4f81ea2b54a24f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module ProofProvider
  SUPPORTED_PROVIDERS = %w(keybase).freeze

  def self.find(identifier, proof = nil)
    case identifier
    when 'keybase'
      ProofProvider::Keybase.new(proof)
    end
  end
end