Sha256: 2b25a151b3fff748fe1c7ea99d51961bde8a1b8c0f4bf5e7a1b5e663901d8386

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

require 'approvals/verifiers/json_verifier'

module Approvals
  module Verifier
    REGISTRY = {
      json: Verifiers::JsonVerifier,
    }

    class << self
      def for(format)
        REGISTRY[format]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
approvals-0.0.26 lib/approvals/verifier.rb
approvals-0.0.25 lib/approvals/verifier.rb
approvals-0.0.24 lib/approvals/verifier.rb