Sha256: 74ad217ece58def32e2ab088d048cc6b854770d9d7412e8f19cac9720450bd85

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

# encoding: UTF-8

require_relative 'metadata'

module GoodData
  class Fact < GoodData::MdObject
    root_key :fact

    class << self
      def [](id)
        if id == :all
          GoodData.get(GoodData.project.md['query'] + '/facts/')['query']['entries']
        else
          super
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gooddata-0.6.0 lib/gooddata/models/fact.rb