Sha256: a856325dc275352f12e6c86e4496472cbefa17d410525d6879c0cdc846dbba38

Contents?: true

Size: 1.78 KB

Versions: 26

Compression:

Stored size: 1.78 KB

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2015 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

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::NotUserGroup
        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

26 entries across 26 versions & 2 rubygems

Version Path
gooddata-edge-0.6.27.edge lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.49 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.48 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.47 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.46 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.45 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.44 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.43 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.42 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.41 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.40 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.39 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.38 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.37 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.36 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.35 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.34 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.33 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.32 lib/gooddata/mixins/rest_resource.rb
gooddata-0.6.31 lib/gooddata/mixins/rest_resource.rb