Class: Dhis2::Api::Version227::Indicator

Inherits:
Base
  • Object
show all
Includes:
Creatable, Deletable, Findable, Listable, Shared::SaveValidator, Updatable
Defined in:
lib/dhis2/api/version227/indicator.rb

Constant Summary collapse

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

Method Summary

Methods included from Shared::SaveValidator

included

Methods included from Deletable

#delete

Methods included from Updatable

#update, #update_attributes

Methods included from Creatable

included

Methods included from Findable

included

Methods included from Listable

included

Methods inherited from Base

#==, #initialize, resource_key, resource_name, #to_h

Constructor Details

This class inherits a constructor from Dhis2::Api::Base