Class: Kindly::Jobs::TestJobWithOutput

Inherits:
Object
  • Object
show all
Defined in:
lib/kindly/jobs/test_job_with_output.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#outputObject

Returns the value of attribute output.



7
8
9
# File 'lib/kindly/jobs/test_job_with_output.rb', line 7

def output
  @output
end

Instance Method Details

#runObject



9
10
11
# File 'lib/kindly/jobs/test_job_with_output.rb', line 9

def run
  @output = 'goodbye'
end