lib/gooddata/rest/client.rb in gooddata-0.6.17 vs lib/gooddata/rest/client.rb in gooddata-0.6.18

- old
+ new

@@ -151,9 +151,13 @@ def domain(domain_name) GoodData::Domain[domain_name, :client => self] end + def project_is_accessible?(id) + projects(id) && true rescue false + end + def projects(id = :all) GoodData::Project[id, client: self] end def processes(id = :all)