Sha256: 5f5321bdf12f0725e6521b0542212d533a95f8a77b405e5c94a77bbc6fce7346

Contents?: true

Size: 376 Bytes

Versions: 6

Compression:

Stored size: 376 Bytes

Contents

module SyoboiCalendar
  module Queries
    class ListChannelsQuery < BaseQuery
      COMMAND = "ChLookup"

      property :ChID

      # @return [String, nil]
      def ChID
        if options[:channel_id]
          format_comma_separated_values(options[:channel_id])
        end
      end

      # @note Override
      def Command
        COMMAND
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
syoboi_calendar-0.9.4 lib/syoboi_calendar/queries/list_channels_query.rb
syoboi_calendar-0.9.3 lib/syoboi_calendar/queries/list_channels_query.rb
syoboi_calendar-0.9.2 lib/syoboi_calendar/queries/list_channels_query.rb
syoboi_calendar-0.9.1 lib/syoboi_calendar/queries/list_channels_query.rb
syoboi_calendar-0.9.0 lib/syoboi_calendar/queries/list_channels_query.rb
syoboi_calendar-0.8.0 lib/syoboi_calendar/queries/list_channels_query.rb