lib/checkoff/portfolios.rb in checkoff-0.106.0 vs lib/checkoff/portfolios.rb in checkoff-0.107.0
- old
+ new
@@ -26,12 +26,12 @@
# @param config [Hash]
# @param workspaces [Checkoff::Workspaces]
# @param clients [Checkoff::Clients]
# @param client [Asana::Client]
def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana),
- workspaces: Checkoff::Workspaces.new(config: config),
clients: Checkoff::Clients.new(config: config),
- client: clients.client)
+ client: clients.client,
+ workspaces: Checkoff::Workspaces.new(config: config, client: client))
@workspaces = workspaces
@client = client
end
# @param workspace_name [String]