Class: CertSign::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/cert_sign/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_pathObject

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_contactObject

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_locationObject

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_reasonObject

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_urlObject

Returns the value of attribute tsa_url.



3
4
5
# File 'lib/cert_sign/config.rb', line 3

def tsa_url
  @tsa_url
end