Method: GoodData::Project.all

Defined in:
lib/gooddata/models/project.rb

.all(opts = { client: GoodData.connection }, limit = nil, offset = nil) ⇒ Object

Returns an array of all projects accessible by current user



72
73
74
75
# File 'lib/gooddata/models/project.rb', line 72

def all(opts = { client: GoodData.connection }, limit = nil, offset = nil)
  c = GoodData.get_client(opts)
  c.user.projects(limit, offset)
end