Sha256: 9a6ee0da478bc2bcf1589ce82804671715b5e542bbb14b7cd616080b18cdca9e

Contents?: true

Size: 594 Bytes

Versions: 31

Compression:

Stored size: 594 Bytes

Contents

module Ecoportal
  module API
    class V2
      class Page
        class Permit < Common::Content::DoubleModel
          class << self
            def new_doc
              {
                "id"         => new_uuid,
                "editable"   => false
              }
            end
          end

          passkey     :id
          passforced  :patch_ver, default: 1
          passthrough :user_id, :user_name
          passthrough :editable
          embeds_one  :flags, klass: "Ecoportal::API::V2::Page::PermissionFlags"
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
ecoportal-api-v2-2.0.6 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-2.0.5 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-2.0.4 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-2.0.3 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-2.0.2 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-2.0.1 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-2.0.0 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.8 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.7 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.6 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.5 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.4 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.3 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.2 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.1.1 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-1.0.1 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-0.9.7 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-0.9.6 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-0.9.5 lib/ecoportal/api/v2/page/permit.rb
ecoportal-api-v2-0.9.4 lib/ecoportal/api/v2/page/permit.rb