Sha256: 125c21a8b1098aff5db5d776df57e636422e6448cf2db75fb3b228615b6e795f
Contents?: true
Size: 675 Bytes
Versions: 8
Compression:
Stored size: 675 Bytes
Contents
# frozen_string_literal: true module Dhis2 module Api module Version228 class OrganisationUnit < ::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::OrganisationUnit Schema = Dry::Validation.Schema do required(:name).filled required(:short_name).filled required(:opening_date).filled end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems