Sha256: 19feda8f89610e5d2b7b8058bffa4a5de0533fae30fc2476ef80f5964c14ed15

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

module Ecoportal
  module API
    class V2
      class Pages
        class PageStage < V2::Page
          passthrough :mould_counter, :archive
          passthrough :task_priority, :state, :status
          passthrough :votes_enabled, :upvotes, :downvotes

          embeds_many :permits, klass: "Ecoportal::API::V2::Page::Permit"
          passarray   :force_errors, :subtags, order_matters: false
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecoportal-api-v2-0.8.10 lib/ecoportal/api/v2/pages/page_stage.rb
ecoportal-api-v2-0.8.9 lib/ecoportal/api/v2/pages/page_stage.rb