Class: PkiExpress::TrustServiceName

Inherits:
Object
  • Object
show all
Defined in:
lib/pki_express/trust_service_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



27
28
29
# File 'lib/pki_express/trust_service_info.rb', line 27

def name
  @name
end