Sha256: cd4e098366b818a942857fe04365c073d8552072ef67bfc61ab003f07c7afa81

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

module PansophyAuthenticator
  module Configuration
    class Result
      include Adamantium

      attr_reader :errors

      def initialize(errors = [])
        @errors = Array(errors)
      end

      def valid?
        @errors.empty?
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pansophy_authenticator-0.5.0 lib/pansophy_authenticator/configuration/result.rb