Class: OpenEHR::RM::Demographic::Capability
- Inherits:
-
Locatable
- Object
- Locatable
- OpenEHR::RM::Demographic::Capability
- Defined in:
- lib/open_ehr/rm/demographic.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
Returns the value of attribute credentials.
-
#time_validity ⇒ Object
Returns the value of attribute time_validity.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Capability
constructor
A new instance of Capability.
Constructor Details
#initialize(args = { }) ⇒ Capability
Returns a new instance of Capability.
214 215 216 217 218 |
# File 'lib/open_ehr/rm/demographic.rb', line 214 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.
211 212 213 |
# File 'lib/open_ehr/rm/demographic.rb', line 211 def credentials @credentials end |
#time_validity ⇒ Object
Returns the value of attribute time_validity.
212 213 214 |
# File 'lib/open_ehr/rm/demographic.rb', line 212 def time_validity @time_validity end |