Sha256: 748867138ba7c136b7ca0d39f3fa8a926c8856fe82d5fb9cd92802f149daa080

Contents?: true

Size: 707 Bytes

Versions: 3

Compression:

Stored size: 707 Bytes

Contents

module Ecoportal
  module API
    class V2
      class Page
        class Component
          class File < Common::Content::DoubleModel
            class << self
              def new_doc
                {
                  "id"         => new_uuid,
                  "position"   => 9999
                }
              end
            end

            passkey     :id
            passforced  :patch_ver, default: 1
            passthrough :position
            passthrough :file_size, :content_type, :token, read_only: true
            passthrough :file_container_id
            passdate    :file_update_at, read_only: true
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecoportal-api-v2-0.8.12 lib/ecoportal/api/v2/page/component/file.rb
ecoportal-api-v2-0.8.11 lib/ecoportal/api/v2/page/component/file.rb
ecoportal-api-v2-0.8.10 lib/ecoportal/api/v2/page/component/file.rb