Sha256: 4557b5beabebfa92acfbbff462f0a28fbc5c9c5ce45b8d3840a05e2fb160009a

Contents?: true

Size: 287 Bytes

Versions: 22

Compression:

Stored size: 287 Bytes

Contents

module Certmeister

  module Policy

    class Response

      def initialize(authenticated, error)
        @authenticated = authenticated
        @error = error
      end

      def authenticated?
        !@error
      end

      def error
        @error
      end

    end

  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
certmeister-2.3.2 lib/certmeister/policy/response.rb
certmeister-2.3.1 lib/certmeister/policy/response.rb
certmeister-2.3.0 lib/certmeister/policy/response.rb
certmeister-2.2.0 lib/certmeister/policy/response.rb
certmeister-2.1.0 lib/certmeister/policy/response.rb
certmeister-2.0.0 lib/certmeister/policy/response.rb
certmeister-1.2.1 lib/certmeister/policy/response.rb
certmeister-1.2.0 lib/certmeister/policy/response.rb
certmeister-1.1.0 lib/certmeister/policy/response.rb
certmeister-1.0.1 lib/certmeister/policy/response.rb
certmeister-1.0.0 lib/certmeister/policy/response.rb
certmeister-0.4.1 lib/certmeister/policy/response.rb
certmeister-0.4.0 lib/certmeister/policy/response.rb
certmeister-0.3.2 lib/certmeister/policy/response.rb
certmeister-0.3.1 lib/certmeister/policy/response.rb
certmeister-0.3.0 lib/certmeister/policy/response.rb
certmeister-0.2.3 lib/certmeister/policy/response.rb
certmeister-0.2.1 lib/certmeister/policy/response.rb
certmeister-0.2.0 lib/certmeister/policy/response.rb
certmeister-0.1.0 lib/certmeister/policy/response.rb