Class: BSV::Identity::CertifierInfo
- Inherits:
-
Object
- Object
- BSV::Identity::CertifierInfo
- Defined in:
- lib/bsv/identity/types.rb
Overview
Certifier metadata attached to a certificate for display purposes.
Instance Attribute Summary collapse
-
#icon_url ⇒ String?
readonly
URL or opaque string for the certifier’s icon.
-
#name ⇒ String
readonly
Certifier’s display name.
Instance Method Summary collapse
-
#initialize(name:, icon_url: nil) ⇒ CertifierInfo
constructor
A new instance of CertifierInfo.
Constructor Details
#initialize(name:, icon_url: nil) ⇒ CertifierInfo
Returns a new instance of CertifierInfo.
57 58 59 60 |
# File 'lib/bsv/identity/types.rb', line 57 def initialize(name:, icon_url: nil) @name = name @icon_url = icon_url end |
Instance Attribute Details
#icon_url ⇒ String? (readonly)
Returns URL or opaque string for the certifier’s icon.
53 54 55 |
# File 'lib/bsv/identity/types.rb', line 53 def icon_url @icon_url end |
#name ⇒ String (readonly)
Returns certifier’s display name.
50 51 52 |
# File 'lib/bsv/identity/types.rb', line 50 def name @name end |