Method: GoodData::Rest::Client#projects

Defined in:
lib/gooddata/rest/client.rb

#projects(id = :all, limit = nil, offset = nil) ⇒ Object



191
192
193
194
195
196
197
# File 'lib/gooddata/rest/client.rb', line 191

def projects(id = :all, limit = nil, offset = nil)
  if limit.nil?
    GoodData::Project[id, client: self]
  else
    GoodData::Project.all({ client: self }, limit, offset)
  end
end