module SidekiqProby::Trackable::ClassMethods

Public Instance Methods

proby_task_id(new_id = nil) click to toggle source

Public: Gets or sets the proby task id.

I decided to go with this kinda weird getter/setter behavier to make the familiar syntax for setting the task id possible.

# File lib/sidekiq_proby/trackable.rb, line 18
def proby_task_id(new_id = nil)
  @proby_task_id = new_id if new_id
  @proby_task_id
end