Sha256: d4fb1ec23bd8638fde8eb05c39eda0a964d6921a1cfdda3aec78317150f4b244

Contents?: true

Size: 530 Bytes

Versions: 6

Compression:

Stored size: 530 Bytes

Contents

module Ecoportal
  module API
    class V2
      class Page
        class Component
          class ImagesField < Page::Component

            class << self
              def new_doc
                {
                  "layout" => "third"
                }
              end
            end

            passthrough :layout, :strech, :no_popup, :hide_options
            embeds_many :images, klass: "Ecoportal::API::V2::Page::Image", order_key: :weight
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ecoportal-api-v2-0.8.8 lib/ecoportal/api/v2/page/component/images_field.rb
ecoportal-api-v2-0.8.7 lib/ecoportal/api/v2/page/component/images_field.rb
ecoportal-api-v2-0.8.6 lib/ecoportal/api/v2/page/component/images_field.rb
ecoportal-api-v2-0.8.5 lib/ecoportal/api/v2/page/component/images_field.rb
ecoportal-api-v2-0.8.4 lib/ecoportal/api/v2/page/component/images_field.rb
ecoportal-api-oozes-0.7.5 lib/ecoportal/api/v2/page/component/images_field.rb