Sha256: acbd8da5a7f4785c204ac428676bd99af1050e02de3421fc9e55d438516f1010

Contents?: true

Size: 1.01 KB

Versions: 8

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"     => 99
                }
              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

8 entries across 8 versions & 1 rubygems

Version Path
ecoportal-api-v2-0.8.20 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.19 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.18 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.17 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.16 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.15 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.14 lib/ecoportal/api/v2/page/component/action.rb
ecoportal-api-v2-0.8.13 lib/ecoportal/api/v2/page/component/action.rb