Sha256: c752945f6399d59eef744bdcfbaf849db548f9609f141caaac501a83e8b19b9c

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 Bytes

Contents

module PansophyAuthenticator
  module Configuration
    module Verification
      class Remote
        def initialize(configuration)
          @configuration = configuration
          @result = Result.new
        end

        def verify
          errors = []
          errors << 'Bucket name is not defined' if @configuration.bucket_name.nil?
          errors << 'File path is not defined' if @configuration.file_path.nil?
          Result.new errors
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pansophy_authenticator-0.4.3 lib/pansophy_authenticator/configuration/verification/remote.rb
pansophy_authenticator-0.4.2 lib/pansophy_authenticator/configuration/verification/remote.rb
pansophy_authenticator-0.4.1 lib/pansophy_authenticator/configuration/verification/remote.rb
pansophy_authenticator-0.4.0 lib/pansophy_authenticator/configuration/verification/remote.rb
pansophy_authenticator-0.3.0 lib/pansophy_authenticator/configuration/verification/remote.rb