Sha256: d4e5dc4cad262bb3528a8e6aacefe0a2e140450d82b96f79842e211570c4fd92

Contents?: true

Size: 732 Bytes

Versions: 8

Compression:

Stored size: 732 Bytes

Contents

# frozen_string_literal: true

module Dhis2
  module Api
    module Version228
      class CategoryCombo < ::Dhis2::Api::Base
        include ::Dhis2::Api::Listable
        include ::Dhis2::Api::Findable
        include ::Dhis2::Api::Creatable
        include ::Dhis2::Api::BulkCreatable
        include ::Dhis2::Api::Updatable
        include ::Dhis2::Api::Deletable
        include ::Dhis2::Api::Shared::SaveValidator
        include ::Dhis2::Api::Shared::CategoryCombo

        Schema = Dry::Validation.Schema do
          required(:name).filled
          required(:data_dimension_type).value(
            included_in?: ::Dhis2::Api::Version228::Constants.data_dimension_types
          )
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dhis2-3.3.1 lib/dhis2/api/version228/category_combo.rb
dhis2-3.2.1 lib/dhis2/api/version228/category_combo.rb
dhis2-3.0.7 lib/dhis2/api/version228/category_combo.rb
dhis2-3.0.5 lib/dhis2/api/version228/category_combo.rb
dhis2-3.0.4 lib/dhis2/api/version228/category_combo.rb
dhis2-3.0.3 lib/dhis2/api/version228/category_combo.rb
dhis2-3.0.2 lib/dhis2/api/version228/category_combo.rb
dhis2-3.0.0 lib/dhis2/api/version228/category_combo.rb