Sha256: f18da24f3a05fe54c263a5fe7e8d841f4015c091905622738887db2619a38681

Contents?: true

Size: 610 Bytes

Versions: 14

Compression:

Stored size: 610 Bytes

Contents

# frozen_string_literal: true

module Evostream
  module Commands
    # Provides a detailed description of all active streams.
    class ListStreams < Command
      MANDATORY = [].freeze

      def initialize(commands = {})
        super(commands)
      end

      def cmd
        super
        "listStreams?params=#{encode64}"
      end

      private

      attr_reader :command

      # If this is 1 (true), internal streams (origin-edge related)
      # are filtered out from the list
      def disable_internal_streams(param = 'true')
        "disableInternalStreams=#{param}"
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
evostream-event-2.0.3 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.3.pre.1265906291 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.3.pre.1265756691 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.3.pre.1265752332 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.2 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.2.pre.994185738 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.994170151 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.994165179 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.994159616 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.856454391 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.856447460 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.856441003 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.816370746 lib/evostream/event/commands/list_streams.rb
evostream-event-2.0.0.pre.809444619 lib/evostream/event/commands/list_streams.rb