class TodoistQuerynaut::TodoistQuery::ProjectNameQuery

Public Instance Methods

run_query(todoist) click to toggle source
# File lib/todoist_querynaut/todoist_query/node_extensions.rb, line 54
def run_query(todoist)
  project_id = todoist.project_name_to_id value
  todoist.all_items.select{|item| item["project_id"] == project_id}
end
value() click to toggle source
# File lib/todoist_querynaut/todoist_query/node_extensions.rb, line 50
def value
  text_value[2..-1]
end