Sha256: 58d39a39030120fad79f17603ffeb8953b2e7896d029da20e18be4654a80fbda

Contents?: true

Size: 1.53 KB

Versions: 9

Compression:

Stored size: 1.53 KB

Contents

# encoding: UTF-8

require_relative 'mixins'

module GoodData
  module Mixin
    module RestResource
      def self.included(base)
        # Core REST Object Stuff
        base.extend GoodData::Mixin::RootKeySetter
        base.send :include, GoodData::Mixin::RootKeyGetter
        base.send :include, GoodData::Mixin::DataGetter
        base.send :include, GoodData::Mixin::MetaGetter
        base.send :include, GoodData::Mixin::ObjId
        base.send :include, GoodData::Mixin::ContentGetter
        base.send :include, GoodData::Mixin::Timestamps
        base.send :include, GoodData::Mixin::Links

        base.extend GoodData::Mixin::DataPropertyReader
        base.extend GoodData::Mixin::DataPropertyWriter
        base.extend GoodData::Mixin::MetaPropertyReader
        base.extend GoodData::Mixin::MetaPropertyWriter

        # MdObject Stuff
        base.send :include, GoodData::Mixin::MdJson
        base.send :include, GoodData::Mixin::NotAttribute
        base.send :include, GoodData::Mixin::NotExportable
        base.send :include, GoodData::Mixin::NotFact
        base.send :include, GoodData::Mixin::NotMetric
        base.send :include, GoodData::Mixin::NotLabel
        base.send :include, GoodData::Mixin::MdRelations
        base.send :include, GoodData::Mixin::Author

        base.extend GoodData::Mixin::MdObjId
        base.extend GoodData::Mixin::MdObjectQuery
        base.extend GoodData::Mixin::MdObjectIndexer
        base.extend GoodData::Mixin::MdFinders
        base.extend GoodData::Mixin::MdIdToUri
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gooddata-0.6.20 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.19 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.18 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.17 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.16 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.15 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.14 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.13 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.12 lib/gooddata/mixins/rest_resource.rb