Class: OpenEHR::RM::Common::Resource::TranslationDetails
- Inherits:
-
Object
- Object
- OpenEHR::RM::Common::Resource::TranslationDetails
- Defined in:
- lib/open_ehr/rm/common/resource.rb
Instance Attribute Summary collapse
-
#accreditation ⇒ Object
Returns the value of attribute accreditation.
-
#author ⇒ Object
Returns the value of attribute author.
-
#language ⇒ Object
Returns the value of attribute language.
-
#other_details ⇒ Object
Returns the value of attribute other_details.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ TranslationDetails
constructor
A new instance of TranslationDetails.
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. = args[:author] self.accreditation = args[:accreditation] self.other_details = args[:other_details] end |
Instance Attribute Details
#accreditation ⇒ Object
Returns the value of attribute accreditation.
46 47 48 |
# File 'lib/open_ehr/rm/common/resource.rb', line 46 def accreditation @accreditation end |
#author ⇒ Object
Returns the value of attribute author.
45 46 47 |
# File 'lib/open_ehr/rm/common/resource.rb', line 45 def @author end |
#language ⇒ Object
Returns the value of attribute language.
45 46 47 |
# File 'lib/open_ehr/rm/common/resource.rb', line 45 def language @language end |
#other_details ⇒ Object
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 |