Class: CertSign::Config
- Inherits:
-
Object
- Object
- CertSign::Config
- Defined in:
- lib/cert_sign/config.rb
Instance Attribute Summary collapse
-
#ca_bundle_path ⇒ Object
Returns the value of attribute ca_bundle_path.
-
#default_contact ⇒ Object
Returns the value of attribute default_contact.
-
#default_location ⇒ Object
Returns the value of attribute default_location.
-
#default_reason ⇒ Object
Returns the value of attribute default_reason.
-
#tsa_url ⇒ Object
Returns the value of attribute tsa_url.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 8 9 10 11 |
# File 'lib/cert_sign/config.rb', line 5 def initialize @ca_bundle_path = nil @tsa_url = nil @default_reason = "Assinatura eletrônica" @default_location = "Brasil" @default_contact = "" end |
Instance Attribute Details
#ca_bundle_path ⇒ Object
Returns the value of attribute ca_bundle_path.
3 4 5 |
# File 'lib/cert_sign/config.rb', line 3 def ca_bundle_path @ca_bundle_path end |
#default_contact ⇒ Object
Returns the value of attribute default_contact.
3 4 5 |
# File 'lib/cert_sign/config.rb', line 3 def default_contact @default_contact end |
#default_location ⇒ Object
Returns the value of attribute default_location.
3 4 5 |
# File 'lib/cert_sign/config.rb', line 3 def default_location @default_location end |
#default_reason ⇒ Object
Returns the value of attribute default_reason.
3 4 5 |
# File 'lib/cert_sign/config.rb', line 3 def default_reason @default_reason end |
#tsa_url ⇒ Object
Returns the value of attribute tsa_url.
3 4 5 |
# File 'lib/cert_sign/config.rb', line 3 def tsa_url @tsa_url end |