Class: Checkoff::Internal::SearchUrl::SimpleParam::Subtask

Inherits:
SimpleParam
  • Object
show all
Defined in:
lib/checkoff/internal/search_url/simple_param_converter.rb

Overview

handle ‘subtask’ search url param

Instance Method Summary collapse

Methods inherited from SimpleParam

#initialize

Constructor Details

This class inherits a constructor from Checkoff::Internal::SearchUrl::SimpleParam::SimpleParam

Instance Method Details

#convertObject



95
96
97
98
99
# File 'lib/checkoff/internal/search_url/simple_param_converter.rb', line 95

def convert
  return ['is_subtask', false] if single_value == 'is_not_subtask'

  raise "Teach me how to handle #{key} = #{values}"
end