class SyoboiCalendar::Queries::ListProgramsQuery

Constants

COMMAND
JOIN

Public Instance Methods

ChID() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 18
def ChID
  if options[:channel_id]
    format_comma_separated_values(options[:channel_id])
  end
end
Command() click to toggle source

@note Override

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 25
def Command
  COMMAND
end
Count() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 30
def Count
  if options[:count]
    format_comma_separated_values(options[:count])
  end
end
Fields() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 37
def Fields
  if options[:fields]
    format_comma_separated_values(options[:fields])
  end
end
JOIN() click to toggle source

@return [String]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 44
def JOIN
  JOIN
end
PID() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 49
def PID
  if options[:program_id]
    format_comma_separated_values(options[:program_id])
  end
end
Range() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 56
def Range
  format_time_range(options[:played_from], options[:played_to])
end
StTime() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 61
def StTime
  format_time_range(options[:started_from], options[:started_to])
end
TID() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/queries/list_programs_query.rb, line 66
def TID
  if options[:title_id]
    format_comma_separated_values(options[:title_id])
  end
end