Class: SyoboiCalendar::Queries::ListChannelsQuery

Inherits:
BaseQuery
  • Object
show all
Defined in:
lib/syoboi_calendar/queries/list_channels_query.rb

Constant Summary collapse

COMMAND =
"ChLookup"

Instance Method Summary collapse

Methods inherited from BaseQuery

#LastUpdate, inherited, #initialize, property, #to_hash

Constructor Details

This class inherits a constructor from SyoboiCalendar::Queries::BaseQuery

Instance Method Details

#ChIDString?

Returns:

  • (String, nil)

9
10
11
12
13
# File 'lib/syoboi_calendar/queries/list_channels_query.rb', line 9

def ChID
  if options[:channel_id]
    format_comma_separated_values(options[:channel_id])
  end
end

#CommandObject

Note:

Override


16
17
18
# File 'lib/syoboi_calendar/queries/list_channels_query.rb', line 16

def Command
  COMMAND
end