Sha256: a16f070533bcc886dcc78b5bde3e710be02d63c849cc31122f5db0af3f10d63d

Contents?: true

Size: 558 Bytes

Versions: 7

Compression:

Stored size: 558 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 & 2 rubygems

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