Module: Customs::ControllerAdditions

Defined in:
lib/customs/engine.rb

Instance Method Summary collapse

Instance Method Details

#control_and_rescue_trafficObject



14
15
16
# File 'lib/customs/engine.rb', line 14

def control_and_rescue_traffic
  control_traffic && rescue_traffic
end

#control_trafficObject



18
19
20
21
# File 'lib/customs/engine.rb', line 18

def control_traffic
  include Customs::ControlTraffic
  include Customs::ControlFlow
end

#rescue_trafficObject



23
24
25
26
# File 'lib/customs/engine.rb', line 23

def rescue_traffic
  include Customs::Statuses
  include Customs::RescueTraffic
end