Class: Wurk::Import::SidekiqCron::Entry
- Inherits:
-
Struct
- Object
- Struct
- Wurk::Import::SidekiqCron::Entry
- Defined in:
- lib/wurk/import/sidekiq_cron.rb
Overview
One sidekiq-cron entry and what it becomes. loop is nil exactly when
skip_reason says why the entry cannot be carried over unchanged.
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#loop ⇒ Object
Returns the value of attribute loop.
-
#name ⇒ Object
Returns the value of attribute name.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#skip_reason ⇒ Object
Returns the value of attribute skip_reason.
-
#source ⇒ Object
Returns the value of attribute source.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
26 27 28 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 26 def key @key end |
#loop ⇒ Object
Returns the value of attribute loop
26 27 28 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 26 def loop @loop end |
#name ⇒ Object
Returns the value of attribute name
26 27 28 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 26 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace
26 27 28 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 26 def namespace @namespace end |
#skip_reason ⇒ Object
Returns the value of attribute skip_reason
26 27 28 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 26 def skip_reason @skip_reason end |
#source ⇒ Object
Returns the value of attribute source
26 27 28 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 26 def source @source end |
#warnings ⇒ Object
Returns the value of attribute warnings
26 27 28 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 26 def warnings @warnings end |
Instance Method Details
#importable? ⇒ Boolean
27 |
# File 'lib/wurk/import/sidekiq_cron.rb', line 27 def importable? = !loop.nil? |