Sha256: 6a9b5f77961875fe71c8651b4a47037c74f98b5cbd73e344fac6fb0e8348507b

Contents?: true

Size: 765 Bytes

Versions: 3

Compression:

Stored size: 765 Bytes

Contents

# = manager_data.rb
#
# @author Rodrigo Fernández
#
# == Clase ManagerData

module Liri
  module Common
    # Esta clase guarda los datos del Manager
    class ManagerData
      attr_accessor :tests_results_folder_path, :compressed_file_path, :user, :password

      def initialize(tests_results_folder_path:, compressed_file_path:, user:, password:)
        @tests_results_folder_path = tests_results_folder_path
        @compressed_file_path = compressed_file_path
        @user = user
        @password = password
      end

      def to_h
        {
          tests_results_folder_path: @tests_results_folder_path,
          compressed_file_path: @compressed_file_path,
          user: @user,
          password: @password
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
liri-0.4.1 lib/common/manager_data.rb
liri-0.4.0 lib/common/manager_data.rb
liri-0.3.1 lib/common/manager_data.rb