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-0.0.2 lib/certmeister/policy/response.rb
certmeister-0.0.1 lib/certmeister/policy/response.rb