class OpenEHR::RM::Common::Resource::TranslationDetails

Attributes

accreditation[RW]
author[R]
language[R]
other_details[RW]

Public Class Methods

new(args = {}) click to toggle source
# File lib/openehr/rm/common/resource.rb, line 49
def initialize(args = {})
  self.language = args[:language]
  self.author = args[:author]
  self.accreditation = args[:accreditation]
  self.other_details = args[:other_details]
end

Public Instance Methods

author=(author) click to toggle source
# File lib/openehr/rm/common/resource.rb, line 61
def author=(author)
  raise ArgumentError, 'author is mandatory' if author.nil?
  @author = author
end
language=(language) click to toggle source
# File lib/openehr/rm/common/resource.rb, line 56
def language=(language)
  raise ArgumentError, 'language is mandatory' if language.nil?
  @language = language
end