Class: OnlyofficeTestrailWrapper::TestrailPlanEntry
- Inherits:
-
Object
- Object
- OnlyofficeTestrailWrapper::TestrailPlanEntry
- Defined in:
- lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb
Instance Attribute Summary collapse
-
#assigned_to ⇒ Object
Returns the value of attribute assigned_to.
-
#case_ids ⇒ Object
Returns the value of attribute case_ids.
-
#include_all ⇒ Object
Returns the value of attribute include_all.
-
#name ⇒ Object
Returns the value of attribute name.
-
#runs ⇒ Object
Returns the value of attribute runs.
-
#suite_id ⇒ Object
Returns the value of attribute suite_id.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ TestrailPlanEntry
constructor
A new instance of TestrailPlanEntry.
Constructor Details
#initialize(params = {}) ⇒ TestrailPlanEntry
7 8 9 10 11 12 13 14 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 7 def initialize(params = {}) @suite_id = params.fetch(:suite_id, nil) @name = params.fetch(:name, '') @include_all = params.fetch(:include_all, true) @case_ids = params.fetch(:case_ids, []) @assigned_to = params.fetch(:assigned_to, nil) @runs = params.fetch(:runs, []) end |
Instance Attribute Details
#assigned_to ⇒ Object
Returns the value of attribute assigned_to.
5 6 7 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 5 def assigned_to @assigned_to end |
#case_ids ⇒ Object
Returns the value of attribute case_ids.
5 6 7 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 5 def case_ids @case_ids end |
#include_all ⇒ Object
Returns the value of attribute include_all.
5 6 7 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 5 def include_all @include_all end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 5 def name @name end |
#runs ⇒ Object
Returns the value of attribute runs.
5 6 7 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 5 def runs @runs end |
#suite_id ⇒ Object
Returns the value of attribute suite_id.
5 6 7 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 5 def suite_id @suite_id end |