class Dor::Ontology::Term

Attributes

deprecation_warning[R]
key[R]
label[R]
uri[R]

Public Class Methods

new(uri:, human_readable:, key:, deprecation_warning: nil) click to toggle source
# File lib/dor/services/ontology.rb, line 23
def initialize(uri:, human_readable:, key:, deprecation_warning: nil)
  @label = human_readable
  @uri = uri
  @deprecation_warning = deprecation_warning
  @key = key
end