Class: SyoboiCalendar::Queries::ListTitlesQuery

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

Constant Summary collapse

COMMAND =
"TitleLookup"

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

#CommandObject

Note:

Override


10
11
12
# File 'lib/syoboi_calendar/queries/list_titles_query.rb', line 10

def Command
  COMMAND
end

#FieldsString?

Returns:

  • (String, nil)

15
16
17
18
19
# File 'lib/syoboi_calendar/queries/list_titles_query.rb', line 15

def Fields
  if options[:fields]
    format_comma_separated_values(options[:fields])
  end
end

#TIDString

Returns:

  • (String)

22
23
24
25
26
27
28
# File 'lib/syoboi_calendar/queries/list_titles_query.rb', line 22

def TID
  if options[:title_id]
    format_comma_separated_values(options[:title_id])
  else
    "*"
  end
end