Sha256: f7e1dc997be6fb373b4da49bcbc3db1a3f18132ca078ca1ce3805ff4d0568f7e

Contents?: true

Size: 592 Bytes

Versions: 44

Compression:

Stored size: 592 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
        end

      end
    end
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
ecoportal-api-v2-0.8.6 lib/ecoportal/api/v2/registers/page_result.rb
ecoportal-api-v2-0.8.5 lib/ecoportal/api/v2/registers/page_result.rb
ecoportal-api-v2-0.8.4 lib/ecoportal/api/v2/registers/page_result.rb
ecoportal-api-oozes-0.7.5 lib/ecoportal/api/v2/registers/page_result.rb