Class: Ksql::Api::Terminate
- Inherits:
-
Object
- Object
- Ksql::Api::Terminate
- Defined in:
- lib/ksql/api/terminate.rb
Constant Summary collapse
- Headers =
{ 'Accept' => 'application/json' }.freeze
Class Method Summary collapse
-
.build(delete_topic_list = null, headers:) ⇒ Ksql::Connection::Request
Build the ksqlDB /ksql/terminate request.
Class Method Details
.build(delete_topic_list = null, headers:) ⇒ Ksql::Connection::Request
Build the ksqlDB /ksql/terminate request
16 17 18 19 20 21 22 23 |
# File 'lib/ksql/api/terminate.rb', line 16 def self.build(delete_topic_list = null, headers:) ::Ksql::Connection::Request.new( { deleteTopicList: delete_topic_list }.compact, '/ksql/terminate', Headers.merge(headers), :post ) end |