Class: OpenEHR::RM::Common::Resource::TranslationDetails
- Inherits:
-
Object
- Object
- OpenEHR::RM::Common::Resource::TranslationDetails
- Defined in:
- lib/openehr/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.
49 50 51 52 53 54 |
# File 'lib/openehr/rm/common/resource.rb', line 49 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.
47 48 49 |
# File 'lib/openehr/rm/common/resource.rb', line 47 def accreditation @accreditation end |
#author ⇒ Object
Returns the value of attribute author.
46 47 48 |
# File 'lib/openehr/rm/common/resource.rb', line 46 def @author end |
#language ⇒ Object
Returns the value of attribute language.
46 47 48 |
# File 'lib/openehr/rm/common/resource.rb', line 46 def language @language end |
#other_details ⇒ Object
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 |