Sha256: c8e2b8e57bbbbba5ae3ea1cf0b0904c26409085cb7e03b9fc4317392100f5b5d

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

require "fido_metadata/store"
require "fido_metadata/version"

module FidoMetadata
  def self.configuration
    @configuration ||= begin
      c = Configuration.new
      c.race_condition_ttl = 1
      c
    end
  end

  def self.configure
    yield(configuration)
  end

  class Configuration
    attr_accessor :metadata_token
    attr_accessor :cache_backend
    attr_accessor :race_condition_ttl
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fido_metadata-0.4.0 lib/fido_metadata.rb