Class: Tempest::Context
- Inherits:
-
Object
- Object
- Tempest::Context
- Defined in:
- lib/tempest/cluster.rb
Instance Attribute Summary collapse
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
-
#respond_to ⇒ Object
readonly
Returns the value of attribute respond_to.
Instance Method Summary collapse
- #answer(*args) ⇒ Object
-
#initialize(cluster, action, respond_to, job_id) ⇒ Context
constructor
A new instance of Context.
- #stop ⇒ Object
Constructor Details
#initialize(cluster, action, respond_to, job_id) ⇒ Context
Returns a new instance of Context.
8 9 10 11 12 13 |
# File 'lib/tempest/cluster.rb', line 8 def initialize cluster, action, respond_to, job_id @action = action @respond_to = respond_to @job_id = job_id @cluster = cluster end |
Instance Attribute Details
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
7 8 9 |
# File 'lib/tempest/cluster.rb', line 7 def job_id @job_id end |
#respond_to ⇒ Object (readonly)
Returns the value of attribute respond_to.
7 8 9 |
# File 'lib/tempest/cluster.rb', line 7 def respond_to @respond_to end |