Sha256: dcc653e030cd836d21158f2bcfe8b57900fb3650bde7c0e1373612623e003101

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

module Ecoportal
  module API
    class V2
      class Page
        class Component
          class Action < Common::Content::DoubleModel
            class << self
              def new_doc
                {
                  "id"         => new_uuid,
                  "weight"     => 9999
                }
              end
            end

            passkey     :id
            passforced  :patch_ver, default: 1
            passthrough :name
            passthrough :weight, :other_information
            passboolean :complete

            passdate    :created_at, read_only: true #, :completed_at
            passthrough :created_by, read_only: true
            passthrough :assigned_person_member_id, :assigned_person_member

            passdate    :due_date, :reminder_date
            passboolean :overdue, read_only: true

            passthrough :duration_in_days, read_only: true
            passarray   :file_container_ids

          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecoportal-api-v2-0.8.12 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.11 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.10 lib/ecoportal/api/v2/page/component/action.rb