Class: Isaca::Configuration
- Inherits:
-
Object
- Object
- Isaca::Configuration
- Defined in:
- lib/isaca.rb
Overview
Class used to store library configurations.
Instance Attribute Summary collapse
-
#debug ⇒ Boolean
Whether or not logging should be used.
-
#logger ⇒ Logger
The logger used for logging.
-
#secret_pass ⇒ String
Returns the secret_pass attribute value.
-
#url ⇒ String
Returns the url attribute value.
-
#user_agent ⇒ String
Returns the user_agent attribute value.
-
#verify_ssl ⇒ Boolean
Whether or not SSL certificates should be verified.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
114 115 116 117 |
# File 'lib/isaca.rb', line 114 def initialize @verify_ssl = true @debug = false end |
Instance Attribute Details
#debug ⇒ Boolean
110 111 112 |
# File 'lib/isaca.rb', line 110 def debug @debug end |
#logger ⇒ Logger
106 107 108 |
# File 'lib/isaca.rb', line 106 def logger @logger end |
#secret_pass ⇒ String
Returns the secret_pass attribute value
94 95 96 |
# File 'lib/isaca.rb', line 94 def secret_pass @secret_pass end |
#url ⇒ String
Returns the url attribute value
94 95 96 |
# File 'lib/isaca.rb', line 94 def url @url end |
#user_agent ⇒ String
Returns the user_agent attribute value
98 99 100 |
# File 'lib/isaca.rb', line 98 def user_agent @user_agent end |
#verify_ssl ⇒ Boolean
102 103 104 |
# File 'lib/isaca.rb', line 102 def verify_ssl @verify_ssl end |