Module: Bumbleworks::Task::Base

Defined in:
lib/bumbleworks/task/base.rb

Instance Method Summary collapse

Instance Method Details

#after_claim(token) ⇒ Object



11
# File 'lib/bumbleworks/task/base.rb', line 11

def after_claim(token); end

#after_complete(params) ⇒ Object



8
# File 'lib/bumbleworks/task/base.rb', line 8

def after_complete(params); end

#after_dispatchObject



16
# File 'lib/bumbleworks/task/base.rb', line 16

def after_dispatch; end

#after_release(token) ⇒ Object



14
# File 'lib/bumbleworks/task/base.rb', line 14

def after_release(token); end

#after_update(params) ⇒ Object



5
# File 'lib/bumbleworks/task/base.rb', line 5

def after_update(params); end

#before_claim(token) ⇒ Object



10
# File 'lib/bumbleworks/task/base.rb', line 10

def before_claim(token); end

#before_complete(params) ⇒ Object



7
# File 'lib/bumbleworks/task/base.rb', line 7

def before_complete(params); end

#before_release(token) ⇒ Object



13
# File 'lib/bumbleworks/task/base.rb', line 13

def before_release(token); end

#before_update(params) ⇒ Object



4
# File 'lib/bumbleworks/task/base.rb', line 4

def before_update(params); end

#completable?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/bumbleworks/task/base.rb', line 18

def completable?
  true
end

#not_completable_error_messageObject



22
23
24
# File 'lib/bumbleworks/task/base.rb', line 22

def not_completable_error_message
  "This task is not currently completable."
end