Sha256: 71b8bf1d0bcc666e236619ba7e721f1477f8811fc39feadbda5ca6b7e40f8a6f

Contents?: true

Size: 1.78 KB

Versions: 77

Compression:

Stored size: 1.78 KB

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 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

77 entries across 77 versions & 1 rubygems

Version Path
gooddata-2.1.0-java lib/gooddata/mixins/rest_resource.rb
gooddata-2.1.0 lib/gooddata/mixins/rest_resource.rb
gooddata-2.0.1-java lib/gooddata/mixins/rest_resource.rb
gooddata-2.0.1 lib/gooddata/mixins/rest_resource.rb
gooddata-2.0.0-java lib/gooddata/mixins/rest_resource.rb
gooddata-2.0.0 lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.6-java lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.6 lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.5-java lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.5 lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.4-java lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.4 lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.3-java lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.3 lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.2-java lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.2 lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.1-java lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.1 lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.0-java lib/gooddata/mixins/rest_resource.rb
gooddata-1.3.0 lib/gooddata/mixins/rest_resource.rb