Class: PkiExpress::TrustServiceName
- Inherits:
-
Object
- Object
- PkiExpress::TrustServiceName
- Defined in:
- lib/pki_express/trust_service_info.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(model) ⇒ TrustServiceName
constructor
A new instance of TrustServiceName.
Constructor Details
#initialize(model) ⇒ TrustServiceName
Returns a new instance of TrustServiceName.
29 30 31 32 33 34 35 |
# File 'lib/pki_express/trust_service_info.rb', line 29 def initialize(model) @name = nil unless model.nil? @name = model.fetch(:name) end end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
27 28 29 |
# File 'lib/pki_express/trust_service_info.rb', line 27 def name @name end |