Sha256: 93d03e270e43abb4d42f9d0c7d749d34f3907413a13034b59160666b9e772987

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

require 'pansophy'

module PansophyAuthenticator
  module Remote
    class Fetcher
      def keys
        @keys ||= fetch
      end

      private

      def fetch
        Pansophy.read(configuration.bucket_name, configuration.file_path)
      end

      def configuration
        PansophyAuthenticator.configuration
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pansophy_authenticator-0.4.2 lib/pansophy_authenticator/remote/fetcher.rb
pansophy_authenticator-0.4.1 lib/pansophy_authenticator/remote/fetcher.rb
pansophy_authenticator-0.4.0 lib/pansophy_authenticator/remote/fetcher.rb
pansophy_authenticator-0.3.0 lib/pansophy_authenticator/remote/fetcher.rb
pansophy_authenticator-0.2.0 lib/pansophy_authenticator/remote/fetcher.rb