Sha256: e2d835fe5a01b91bea7ba3a9d2815247ee4010680dd03a2a7a2c7030c75d57fd

Contents?: true

Size: 544 Bytes

Versions: 7

Compression:

Stored size: 544 Bytes

Contents

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

            passkey     :id
            passthrough :patch_ver, :name, :value
            passthrough :weight, :selected
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ecoportal-api-oozes-0.7.2 lib/ecoportal/api/v2/page/component/selection_option.rb
ecoportal-api-oozes-0.7.1 lib/ecoportal/api/v2/page/component/selection_option.rb
ecoportal-api-oozes-0.7.0 lib/ecoportal/api/v2/page/component/selection_option.rb
ecoportal-api-oozes-0.6.1 lib/ecoportal/api/v2/page/component/selection_option.rb
ecoportal-api-oozes-0.6.0 lib/ecoportal/api/v2/page/component/selection_option.rb
ecoportal-api-oozes-0.5.9 lib/ecoportal/api/v2/page/component/selection_option.rb
ecoportal-api-oozes-0.5.8 lib/ecoportal/api/v2/page/component/selection_option.rb