Class: Dhis2::Api::Version224::Attribute

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

Constant Summary collapse

Schema =
Dry::Validation.Schema do
  required(:name).filled
  required(:value_type).value(
    included_in?: ::Dhis2::Api::Version224::Constants.value_types
  )
end

Method Summary

Methods included from 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