Class: TDL::StopAction

Inherits:
Object
  • Object
show all
Defined in:
lib/tdl/queue/actions/stop_action.rb

Instance Method Summary collapse

Instance Method Details

#after_response(remote_broker, request, response) ⇒ Object



8
9
10
# File 'lib/tdl/queue/actions/stop_action.rb', line 8

def after_response(remote_broker, request, response)
  # do nothing
end

#audit_textObject



4
5
6
# File 'lib/tdl/queue/actions/stop_action.rb', line 4

def audit_text
  '(NOT PUBLISHED)'
end

#prepare_for_next_request(remote_broker) ⇒ Object



12
13
14
# File 'lib/tdl/queue/actions/stop_action.rb', line 12

def prepare_for_next_request(remote_broker)
  remote_broker.close
end