proof_provider.rb 234 B

123456789101112
  1. # frozen_string_literal: true
  2. module ProofProvider
  3. SUPPORTED_PROVIDERS = %w(keybase).freeze
  4. def self.find(identifier, proof = nil)
  5. case identifier
  6. when 'keybase'
  7. ProofProvider::Keybase.new(proof)
  8. end
  9. end
  10. end