Class: Nanobot::Scheduler::Schedule

Inherits:
Struct
  • Object
show all
Defined in:
lib/nanobot/scheduler/store.rb

Overview

A single scheduled task

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Object

Returns the value of attribute created_at

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of enabled



12
13
14
# File 'lib/nanobot/scheduler/store.rb', line 12

def enabled
  @enabled
end

#expression ⇒ Object

Returns the value of attribute expression

Returns:

  • (Object) —

    the current value of expression



12
13
14
# File 'lib/nanobot/scheduler/store.rb', line 12

def expression
  @expression
end

#id ⇒ Object

Returns the value of attribute id

Returns:

  • (Object) —

    the current value of id



12
13
14
# File 'lib/nanobot/scheduler/store.rb', line 12

def id
  @id
end

#kind ⇒ Object

Returns the value of attribute kind

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of prompt



12
13
14
# File 'lib/nanobot/scheduler/store.rb', line 12

def prompt
  @prompt
end

#timezone ⇒ Object

Returns the value of attribute timezone

Returns:

  • (Object) —

    the current value of timezone



12
13
14
# File 'lib/nanobot/scheduler/store.rb', line 12

def timezone
  @timezone
end