Sha256: a568cc7bd5461eb03841eaf60ce2d64fb6fc70de5f04e5edc2c55817749c15c8

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

require File.join(File.dirname(__FILE__), "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.pre11 lib/gooddata/models/fact.rb