Class: Readapt::Message::Disconnect

Inherits:
Base
  • Object
show all
Defined in:
lib/readapt/message/disconnect.rb

Instance Attribute Summary

Attributes inherited from Base

#arguments, #debugger

Instance Method Summary collapse

Methods inherited from Base

#body, #initialize, run, #set_body

Constructor Details

This class inherits a constructor from Readapt::Message::Base

Instance Method Details

#runObject



6
7
8
9
10
# File 'lib/readapt/message/disconnect.rb', line 6

def run
  # The message only sets an empty body to acknowledge that the request
  # was received. The adapter handles the actual disconnection process.
  set_body({})
end