Sha256: ca6070b5824edeb51df2de762b0853998bb026aa418a848029f413f93f031746

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

require 'singleton'
require 'memoizable'
require 'pansophy'

module PansophyAuthenticator
  module Remote
    class ApplicationKeys
      include Singleton
      include Memoizable

      def keys
        Pansophy.read(configuration.bucket_name, configuration.file_path)
      end
      memoize :keys

      private

      def configuration
        PansophyAuthenticator.configuration
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pansophy_authenticator-0.1.0 lib/pansophy_authenticator/remote/application_keys.rb