Sha256: 772a37a0868cad6411434200d7fbeb5051bde4d949572f3520e9c59eb25e0c05

Contents?: true

Size: 802 Bytes

Versions: 8

Compression:

Stored size: 802 Bytes

Contents

# frozen_string_literal: true

module Dhis2
  module Api
    module Version224
      module Constants
        include ::Dhis2::Api::Shared::Constants

        VALUE_TYPES = %w(UNIT_INTERVAL LETTER BOOLEAN NUMBER TEXT DATE LONG_TEXT FILE_RESOURCE USERNAME TRACKER_ASSOCIATE COORDINATE INTEGER_POSITIVE DATETIME EMAIL TRUE_ONLY INTEGER INTEGER_ZERO_OR_POSITIVE TIME INTEGER_NEGATIVE PERCENTAGE PHONE_NUMBER).freeze
        AGGREGATION_TYPES = %w(DEFAULT MAX AVERAGE_INT_DISAGGREGATION SUM AVERAGE_BOOL AVERAGE_INT COUNT CUSTOM STDDEV AVERAGE_SUM_ORG_UNIT NONE AVERAGE_SUM_INT AVERAGE_SUM_INT_DISAGGREGATION AVERAGE VARIANCE MIN).freeze

        def self.value_types
          VALUE_TYPES
        end

        def self.aggregation_types
          AGGREGATION_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/version224/constants.rb
dhis2-3.2.1 lib/dhis2/api/version224/constants.rb
dhis2-3.0.7 lib/dhis2/api/version224/constants.rb
dhis2-3.0.5 lib/dhis2/api/version224/constants.rb
dhis2-3.0.4 lib/dhis2/api/version224/constants.rb
dhis2-3.0.3 lib/dhis2/api/version224/constants.rb
dhis2-3.0.2 lib/dhis2/api/version224/constants.rb
dhis2-3.0.0 lib/dhis2/api/version224/constants.rb