Class: Liri::Common::ManagerData
- Inherits:
-
Object
- Object
- Liri::Common::ManagerData
- Defined in:
- lib/common/manager_data.rb
Overview
Esta clase guarda los datos del Manager
Instance Attribute Summary collapse
-
#compressed_file_path ⇒ Object
Returns the value of attribute compressed_file_path.
-
#password ⇒ Object
Returns the value of attribute password.
-
#tests_results_folder_path ⇒ Object
Returns the value of attribute tests_results_folder_path.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(tests_results_folder_path:, compressed_file_path:, user:, password:) ⇒ ManagerData
constructor
A new instance of ManagerData.
- #to_h ⇒ Object
Constructor Details
#initialize(tests_results_folder_path:, compressed_file_path:, user:, password:) ⇒ ManagerData
Returns a new instance of ManagerData.
13 14 15 16 17 18 |
# File 'lib/common/manager_data.rb', line 13 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 |
Instance Attribute Details
#compressed_file_path ⇒ Object
Returns the value of attribute compressed_file_path.
11 12 13 |
# File 'lib/common/manager_data.rb', line 11 def compressed_file_path @compressed_file_path end |
#password ⇒ Object
Returns the value of attribute password.
11 12 13 |
# File 'lib/common/manager_data.rb', line 11 def password @password end |
#tests_results_folder_path ⇒ Object
Returns the value of attribute tests_results_folder_path.
11 12 13 |
# File 'lib/common/manager_data.rb', line 11 def tests_results_folder_path @tests_results_folder_path end |
#user ⇒ Object
Returns the value of attribute user.
11 12 13 |
# File 'lib/common/manager_data.rb', line 11 def user @user end |
Instance Method Details
#to_h ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/common/manager_data.rb', line 20 def to_h { tests_results_folder_path: @tests_results_folder_path, compressed_file_path: @compressed_file_path, user: @user, password: @password } end |