Sha256: 1e9cce893c6133ea737331e908292588ca2c0b390f7803d757cfc406e5fd42e8

Contents?: true

Size: 649 Bytes

Versions: 8

Compression:

Stored size: 649 Bytes

Contents

# frozen_string_literal: true

module Dhis2
  module Api
    module Version225
      class Indicator < ::Dhis2::Api::Base
        include ::Dhis2::Api::Listable
        include ::Dhis2::Api::Findable
        include ::Dhis2::Api::Creatable
        include ::Dhis2::Api::Updatable
        include ::Dhis2::Api::Deletable
        include ::Dhis2::Api::Shared::SaveValidator

        Schema = Dry::Validation.Schema do
          required(:name).filled
          required(:short_name).filled
          required(:numerator).filled
          required(:denominator).filled
          required(:indicator_type).filled
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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