Class: OpenEHR::RM::Demographic::Capability
- Inherits:
-
Common::Archetyped::Locatable
- Object
- Common::Archetyped::Pathable
- Common::Archetyped::Locatable
- OpenEHR::RM::Demographic::Capability
- Defined in:
- lib/openehr/rm/demographic.rb
Constant Summary
Constants included from Common::Archetyped::LocaterConstants
Common::Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, Common::Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, Common::Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, Common::Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, Common::Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR
Instance Attribute Summary collapse
-
#credentials ⇒ Object
Returns the value of attribute credentials.
-
#time_validity ⇒ Object
Returns the value of attribute time_validity.
Attributes inherited from Common::Archetyped::Locatable
#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid
Attributes inherited from Common::Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Capability
constructor
A new instance of Capability.
Methods inherited from Common::Archetyped::Locatable
Methods inherited from Common::Archetyped::Pathable
#item_at_path, #items_at_path, normalize_path, path_attribute, path_attributes, #path_children, #path_exists?, #path_of_item, #path_unique?, select_by_predicate
Constructor Details
#initialize(args = { }) ⇒ Capability
Returns a new instance of Capability.
215 216 217 218 219 |
# File 'lib/openehr/rm/demographic.rb', line 215 def initialize(args = { }) super(args) self.credentials = args[:credentials] self.time_validity = args[:time_validity] end |
Instance Attribute Details
#credentials ⇒ Object
Returns the value of attribute credentials.
212 213 214 |
# File 'lib/openehr/rm/demographic.rb', line 212 def credentials @credentials end |
#time_validity ⇒ Object
Returns the value of attribute time_validity.
213 214 215 |
# File 'lib/openehr/rm/demographic.rb', line 213 def time_validity @time_validity end |