lib/checkoff/task_searches.rb in checkoff-0.19.2 vs lib/checkoff/task_searches.rb in checkoff-0.20.0
- old
+ new
@@ -10,11 +10,11 @@
require_relative 'clients'
require_relative 'task_selectors'
require 'asana/resource_includes/collection'
require 'asana/resource_includes/response_helper'
-require 'checkoff/internal/search_url_parser'
+require 'checkoff/internal/search_url'
# https://developers.asana.com/docs/task-searches
module Checkoff
# Run task searches against the Asana API
class TaskSearches
@@ -31,10 +31,10 @@
workspaces: Checkoff::Workspaces.new(config: config),
task_selectors: Checkoff::TaskSelectors.new(config: config),
projects: Checkoff::Projects.new(config: config),
clients: Checkoff::Clients.new(config: config),
client: clients.client,
- search_url_parser: Checkoff::Internal::SearchUrlParser.new,
+ search_url_parser: Checkoff::Internal::SearchUrl::Parser.new,
asana_resources_collection_class: Asana::Resources::Collection)
@workspaces = workspaces
@task_selectors = task_selectors
@projects = projects
@client = client