Sha256: f6ef621db731be57f15a9a024e8bbecadeecccf7dbbd9ee02014b8ba950f0afd

Contents?: true

Size: 261 Bytes

Versions: 10

Compression:

Stored size: 261 Bytes

Contents

module Paradocs
  class Results
    attr_reader :output, :errors, :environment

    def initialize(output, errors, environment)
      @output, @errors, @environment = output, errors, environment
    end

    def valid?
      !errors.keys.any?
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
paradocs-1.1.6 lib/paradocs/results.rb
paradocs-1.1.5 lib/paradocs/results.rb
paradocs-1.1.4 lib/paradocs/results.rb
paradocs-1.1.3 lib/paradocs/results.rb
paradocs-1.1.2 lib/paradocs/results.rb
paradocs-1.1.1 lib/paradocs/results.rb
paradocs-1.1.0 lib/paradocs/results.rb
paradocs-1.0.24 lib/paradocs/results.rb
paradocs-1.0.23 lib/paradocs/results.rb
paradocs-1.0.22 lib/paradocs/results.rb