# TODO: delete if not used
module Alatir
  class Result
    attr_reader :activity
    attr_reader :platform_check
    attr_reader :dependency_chehck
    attr_reader :result
    attr_reader :errors
    attr_reader :success

    def initialize(params = {})
      @activity = params.fetch(:activity)
      @platform_check = params.fetch(:platform_check, true)
      @dependency_chehck = params.fetch(:dependency_chehck, true)
      @result = params.fetch(:result, nil)
      @errors = params.fetch(:errors, nil)
      @success = params.fetch(:success, nil)
    end
  end
end
