Class: AffiliateWindow::ETL::Scheduler::Job
- Inherits:
-
Object
- Object
- AffiliateWindow::ETL::Scheduler::Job
- Defined in:
- lib/affiliate_window/etl/scheduler.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(type, args = {}) ⇒ Job
constructor
A new instance of Job.
Constructor Details
#initialize(type, args = {}) ⇒ Job
Returns a new instance of Job.
56 57 58 59 |
# File 'lib/affiliate_window/etl/scheduler.rb', line 56 def initialize(type, args = {}) self.type = type self.args = args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
54 55 56 |
# File 'lib/affiliate_window/etl/scheduler.rb', line 54 def args @args end |
#type ⇒ Object
Returns the value of attribute type.
54 55 56 |
# File 'lib/affiliate_window/etl/scheduler.rb', line 54 def type @type end |
Instance Method Details
#==(other) ⇒ Object
61 62 63 |
# File 'lib/affiliate_window/etl/scheduler.rb', line 61 def ==(other) type == other.type && args == other.args end |