Class: OpenEHR::RM::Common::Generic::Attestation
- Inherits:
-
AuditDetails
- Object
- AuditDetails
- OpenEHR::RM::Common::Generic::Attestation
- Defined in:
- lib/open_ehr/rm/common/generic.rb
Instance Attribute Summary collapse
-
#attested_view ⇒ Object
Returns the value of attribute attested_view.
-
#is_pending ⇒ Object
Returns the value of attribute is_pending.
-
#items ⇒ Object
Returns the value of attribute items.
-
#proof ⇒ Object
Returns the value of attribute proof.
-
#reason ⇒ Object
Returns the value of attribute reason.
Attributes inherited from AuditDetails
#change_type, #committer, #description, #system_id, #time_committed
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Attestation
constructor
A new instance of Attestation.
- #is_pending? ⇒ Boolean
Constructor Details
#initialize(args = { }) ⇒ Attestation
Returns a new instance of Attestation.
188 189 190 191 192 193 194 195 |
# File 'lib/open_ehr/rm/common/generic.rb', line 188 def initialize(args = { }) super(args) self.reason = args[:reason] self.proof = args[:proof] self.items = args[:items] self.attested_view = args[:attested_view] self.is_pending = args[:is_pending] end |
Instance Attribute Details
#attested_view ⇒ Object
Returns the value of attribute attested_view.
186 187 188 |
# File 'lib/open_ehr/rm/common/generic.rb', line 186 def attested_view @attested_view end |
#is_pending ⇒ Object
Returns the value of attribute is_pending.
186 187 188 |
# File 'lib/open_ehr/rm/common/generic.rb', line 186 def is_pending @is_pending end |
#items ⇒ Object
Returns the value of attribute items.
186 187 188 |
# File 'lib/open_ehr/rm/common/generic.rb', line 186 def items @items end |
#proof ⇒ Object
Returns the value of attribute proof.
186 187 188 |
# File 'lib/open_ehr/rm/common/generic.rb', line 186 def proof @proof end |
#reason ⇒ Object
Returns the value of attribute reason.
185 186 187 |
# File 'lib/open_ehr/rm/common/generic.rb', line 185 def reason @reason end |
Instance Method Details
#is_pending? ⇒ Boolean
209 210 211 |
# File 'lib/open_ehr/rm/common/generic.rb', line 209 def is_pending? return is_pending end |