Class: RubySky::Raw::DIDDoc

Inherits:
Object
  • Object
show all
Defined in:
lib/rubysky/raw/did_doc.rb

Overview

DID Document

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#didObject (readonly)

Returns the value of attribute did.



7
8
9
# File 'lib/rubysky/raw/did_doc.rb', line 7

def did
  @did
end

#did_docObject (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