Sha256: dc4a2b62e9bfdf889963e5af46994f6e6422d492ea5d1307e2e2119ee749772b

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

module Ecoportal
  module API
    class V2
      class Page
        class Components < Common::Content::CollectionModel
          class_resolver :component_class, "Ecoportal::API::V2::Page::Component"

          self.klass do |doc|
            component_class.get_class(doc).tap do |klass|
              klass.key = :id
            end
          end

          order_matters = true

        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecoportal-api-oozes-0.5.5 lib/ecoportal/api/v2/page/components.rb