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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ TranslationDetails

Returns a new instance of TranslationDetails.



49
50
51
52
53
54
# 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

Instance Attribute Details

#accreditationObject

Returns the value of attribute accreditation.



47
48
49
# File 'lib/openehr/rm/common/resource.rb', line 47

def accreditation
  @accreditation
end

#authorObject

Returns the value of attribute author.



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

def author
  @author
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

#other_detailsObject

Returns the value of attribute other_details.



47
48
49
# File 'lib/openehr/rm/common/resource.rb', line 47

def other_details
  @other_details
end