Sha256: 15987aa983eff387a3db28693ddd54f750a464499bd5799310d08680250241db

Contents?: true

Size: 854 Bytes

Versions: 1

Compression:

Stored size: 854 Bytes

Contents

module Ecoportal
  module API
    class V2
      class Registers
        class PageResult < Common::Content::DoubleModel
          passkey     :id
          passthrough :template_id
          passthrough :name, :state
          passdate    :updated_at, :created_at
          passthrough :archive
          passarray   :tags, order_matters: false
          passthrough :mould_counter

          class_resolver :stages_class, "Ecoportal::API::V2::Registers::StagesResult"
          embeds_many    :stages, enum_class: :stages_class, read_only: true

          class_resolver :mem_droplet, "Ecoportal::API::V2::Registers::PageResult::MembraneDroplet"
          embeds_many    :membranes, klass: :mem_droplet, read_only: true
        end
      end
    end
  end
end

require 'ecoportal/api/v2/registers/page_result/membrane_droplet'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecoportal-api-v2-2.0.6 lib/ecoportal/api/v2/registers/page_result.rb