Class: RubySky::Raw::DIDDoc
- Inherits:
-
Object
- Object
- RubySky::Raw::DIDDoc
- Defined in:
- lib/rubysky/raw/did_doc.rb
Overview
DID Document
Instance Attribute Summary collapse
-
#did ⇒ Object
readonly
Returns the value of attribute did.
-
#did_doc ⇒ Object
readonly
Returns the value of attribute did_doc.
Instance Method Summary collapse
-
#initialize(did:, did_doc:) ⇒ DIDDoc
constructor
A new instance of DIDDoc.
Constructor Details
#initialize(did:, did_doc:) ⇒ DIDDoc
Returns a new instance of DIDDoc.
9 10 11 12 |
# File 'lib/rubysky/raw/did_doc.rb', line 9 def initialize(did:, did_doc:) @did = did @did_doc = did_doc end |
Instance Attribute Details
#did ⇒ Object (readonly)
Returns the value of attribute did.
7 8 9 |
# File 'lib/rubysky/raw/did_doc.rb', line 7 def did @did end |
#did_doc ⇒ Object (readonly)
Returns the value of attribute did_doc.
7 8 9 |
# File 'lib/rubysky/raw/did_doc.rb', line 7 def did_doc @did_doc end |