lib/gooddata/commands/projects.rb in gooddata-0.6.7 vs lib/gooddata/commands/projects.rb in gooddata-0.6.8

- old
+ new

@@ -4,11 +4,12 @@ module GoodData module Command class Projects class << self - def list - GoodData::Project.all + def list(options = { client: GoodData.connection }) + client = options[:client] + client.projects end end end end end