Class: Booth::Contests::Respond

Inherits:
Object
  • Object
show all
Includes:
Logging, MethodObject
Defined in:
lib/booth/contests/respond.rb

Instance Method Summary collapse

Methods included from MethodObject

included

Instance Method Details

#callObject



11
12
13
14
15
16
17
18
# File 'lib/booth/contests/respond.rb', line 11

def call
  do_find_contest
    .on_success { do_check_timeout }
    .on_success { do_check_scope }
    .on_success { do_check_already_responded }
    .on_success { do_check_code_syntax }
    .on_success { do_respond }
end