Class: OpenEHR::RM::Common::Resource::TranslationDetails

Inherits:
Object
  • Object
show all
Defined in:
lib/open_ehr/rm/common/resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ TranslationDetails

Returns a new instance of TranslationDetails.



48
49
50
51
52
53
# File 'lib/open_ehr/rm/common/resource.rb', line 48

def initialize(args = {})
  self.language = args[:language]
  self.author = args[:author]
  self.accreditation = args[:accreditation]
  self.other_details = args[:other_details]
end

Instance Attribute Details

#accreditationObject

Returns the value of attribute accreditation.



46
47
48
# File 'lib/open_ehr/rm/common/resource.rb', line 46

def accreditation
  @accreditation
end

#authorObject

Returns the value of attribute author.



45
46
47
# File 'lib/open_ehr/rm/common/resource.rb', line 45

def author
  @author
end

#languageObject

Returns the value of attribute language.



45
46
47
# File 'lib/open_ehr/rm/common/resource.rb', line 45

def language
  @language
end

#other_detailsObject

Returns the value of attribute other_details.



46
47
48
# File 'lib/open_ehr/rm/common/resource.rb', line 46

def other_details
  @other_details
end