Class: Dtn::Streaming::Requests::Quote::SetClientName

Inherits:
Dtn::Streaming::Request show all
Defined in:
lib/dtn/streaming/requests/quote/set_client_name.rb

Overview

Set client name request

Instance Method Summary collapse

Methods inherited from Dtn::Streaming::Request

#initialize

Constructor Details

This class inherits a constructor from Dtn::Streaming::Request

Instance Method Details

#call(name:) ⇒ Object



9
10
11
# File 'lib/dtn/streaming/requests/quote/set_client_name.rb', line 9

def call(name:)
  socket.print "S,SET CLIENT NAME,#{name}\r\n"
end