Class: Job
- Inherits:
-
Object
- Object
- Job
- Defined in:
- lib/perfecto-reporting/model/Job.rb
Overview
Job Defines a job which runs the test / group of tests
This can be used in order to locate specific job in reporting ui
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
Instance Method Summary collapse
-
#initialize(name, number) ⇒ Job
constructor
initialize a new job instance.
Constructor Details
#initialize(name, number) ⇒ Job
initialize a new job instance
11 12 13 14 |
# File 'lib/perfecto-reporting/model/Job.rb', line 11 def initialize name, number @name = name @number = number end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/perfecto-reporting/model/Job.rb', line 8 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
8 9 10 |
# File 'lib/perfecto-reporting/model/Job.rb', line 8 def number @number end |