Class: OnlyofficeTestrailWrapper::TestrailPlanEntry
- Inherits:
-
TestrailApiObject
- Object
- TestrailApiObject
- OnlyofficeTestrailWrapper::TestrailPlanEntry
- Defined in:
- lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb
Overview
Class for working with testrail plan entry
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.
Methods inherited from TestrailApiObject
#init_from_hash, #name_id_pairs
Constructor Details
#initialize(params = {}) ⇒ TestrailPlanEntry
Returns a new instance of TestrailPlanEntry.
8 9 10 11 12 13 14 15 16 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 8 def initialize(params = {}) super() @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.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 6 def assigned_to @assigned_to end |
#case_ids ⇒ Object
Returns the value of attribute case_ids.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 6 def case_ids @case_ids end |
#include_all ⇒ Object
Returns the value of attribute include_all.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 6 def include_all @include_all end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 6 def name @name end |
#runs ⇒ Object
Returns the value of attribute runs.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 6 def runs @runs end |
#suite_id ⇒ Object
Returns the value of attribute suite_id.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_plan_entry.rb', line 6 def suite_id @suite_id end |