Sha256: 3af51c7117920b8d9c090379ec63ba115af6936f0ab378f5de58a2010391cd21

Contents?: true

Size: 548 Bytes

Versions: 8

Compression:

Stored size: 548 Bytes

Contents

module Ecoportal
  module API
    class V2
      class Page
        class Component
          class ChecklistItem < Common::Content::DoubleModel

            class << self
              def new_doc
                {
                  "id"     => new_uuid,
                  "weight" => 9999
                }
              end
            end
            
            passkey     :id
            passthrough :patch_ver, :label
            passthrough :weight, :checked
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ecoportal-api-v2-0.8.8 lib/ecoportal/api/v2/page/component/checklist_item.rb
ecoportal-api-v2-0.8.7 lib/ecoportal/api/v2/page/component/checklist_item.rb
ecoportal-api-v2-0.8.6 lib/ecoportal/api/v2/page/component/checklist_item.rb
ecoportal-api-v2-0.8.5 lib/ecoportal/api/v2/page/component/checklist_item.rb
ecoportal-api-v2-0.8.4 lib/ecoportal/api/v2/page/component/checklist_item.rb
ecoportal-api-oozes-0.7.5 lib/ecoportal/api/v2/page/component/checklist_item.rb
ecoportal-api-oozes-0.7.4 lib/ecoportal/api/v2/page/component/checklist_item.rb
ecoportal-api-oozes-0.7.3 lib/ecoportal/api/v2/page/component/checklist_item.rb