Class: OpenEHR::RM::Common::Resource::ResourceDescription
- Inherits:
-
Object
- Object
- OpenEHR::RM::Common::Resource::ResourceDescription
- Defined in:
- lib/open_ehr/rm/common/resource.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
Returns the value of attribute details.
-
#lifecycle_state ⇒ Object
Returns the value of attribute lifecycle_state.
-
#original_author ⇒ Object
Returns the value of attribute original_author.
-
#other_contributors ⇒ Object
Returns the value of attribute other_contributors.
-
#other_details ⇒ Object
Returns the value of attribute other_details.
-
#parent_resource ⇒ Object
Returns the value of attribute parent_resource.
-
#resource_package_uri ⇒ Object
Returns the value of attribute resource_package_uri.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ResourceDescription
constructor
A new instance of ResourceDescription.
Constructor Details
#initialize(args = {}) ⇒ ResourceDescription
Returns a new instance of ResourceDescription.
71 72 73 74 75 76 77 78 79 |
# File 'lib/open_ehr/rm/common/resource.rb', line 71 def initialize(args = {}) self. = args[:original_author] self.lifecycle_state = args[:lifecycle_state] self.details = args[:details] self.other_contributors = args[:other_contributors] self.resource_package_uri = args[:resource_package_uri] self.other_details = args[:other_details] self.parent_resource = args[:parent_resource] end |
Instance Attribute Details
#details ⇒ Object
Returns the value of attribute details.
67 68 69 |
# File 'lib/open_ehr/rm/common/resource.rb', line 67 def details @details end |
#lifecycle_state ⇒ Object
Returns the value of attribute lifecycle_state.
67 68 69 |
# File 'lib/open_ehr/rm/common/resource.rb', line 67 def lifecycle_state @lifecycle_state end |
#original_author ⇒ Object
Returns the value of attribute original_author.
67 68 69 |
# File 'lib/open_ehr/rm/common/resource.rb', line 67 def @original_author end |
#other_contributors ⇒ Object
Returns the value of attribute other_contributors.
68 69 70 |
# File 'lib/open_ehr/rm/common/resource.rb', line 68 def other_contributors @other_contributors end |
#other_details ⇒ Object
Returns the value of attribute other_details.
68 69 70 |
# File 'lib/open_ehr/rm/common/resource.rb', line 68 def other_details @other_details end |
#parent_resource ⇒ Object
Returns the value of attribute parent_resource.
68 69 70 |
# File 'lib/open_ehr/rm/common/resource.rb', line 68 def parent_resource @parent_resource end |
#resource_package_uri ⇒ Object
Returns the value of attribute resource_package_uri.
68 69 70 |
# File 'lib/open_ehr/rm/common/resource.rb', line 68 def resource_package_uri @resource_package_uri end |