Class: Nanobot::Scheduler::Schedule
- Inherits:
-
Struct
- Object
- Struct
- Nanobot::Scheduler::Schedule
- Defined in:
- lib/nanobot/scheduler/store.rb
Overview
A single scheduled task
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#deliver_to ⇒ Object
Returns the value of attribute deliver_to.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#id ⇒ Object
Returns the value of attribute id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#last_run_at ⇒ Object
Returns the value of attribute last_run_at.
-
#next_run_at ⇒ Object
Returns the value of attribute next_run_at.
-
#prompt ⇒ Object
Returns the value of attribute prompt.
-
#timezone ⇒ Object
Returns the value of attribute timezone.
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def created_at @created_at end |
#deliver_to ⇒ Object
Returns the value of attribute deliver_to
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def deliver_to @deliver_to end |
#enabled ⇒ Object
Returns the value of attribute enabled
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def enabled @enabled end |
#expression ⇒ Object
Returns the value of attribute expression
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def expression @expression end |
#id ⇒ Object
Returns the value of attribute id
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def kind @kind end |
#last_run_at ⇒ Object
Returns the value of attribute last_run_at
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def last_run_at @last_run_at end |
#next_run_at ⇒ Object
Returns the value of attribute next_run_at
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def next_run_at @next_run_at end |
#prompt ⇒ Object
Returns the value of attribute prompt
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def prompt @prompt end |
#timezone ⇒ Object
Returns the value of attribute timezone
12 13 14 |
# File 'lib/nanobot/scheduler/store.rb', line 12 def timezone @timezone end |