Method: GoodData::Project#facts

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

#facts(id = :all) ⇒ GoodData::Fact | Array<GoodData::Fact>

Helper for getting facts of a project

Parameters:

  • Anything (String | Number | Object)

    that you can pass to GoodData::Fact[id]

Returns:



1093
1094
1095
# File 'lib/gooddata/models/project.rb', line 1093

def facts(id = :all)
  GoodData::Fact[id, project: self, client: client]
end