Class: Octogate::Configuration
- Inherits:
-
Object
- Object
- Octogate::Configuration
- Includes:
- Singleton
- Defined in:
- lib/octogate/configuration.rb
Instance Attribute Summary collapse
-
#ca_file ⇒ Object
Returns the value of attribute ca_file.
-
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
-
#targets ⇒ Object
Returns the value of attribute targets.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/octogate/configuration.rb', line 8 def initialize @targets ||= {} @ssl_verify = true end |
Instance Attribute Details
#ca_file ⇒ Object
Returns the value of attribute ca_file.
6 7 8 |
# File 'lib/octogate/configuration.rb', line 6 def ca_file @ca_file end |
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
6 7 8 |
# File 'lib/octogate/configuration.rb', line 6 def ssl_verify @ssl_verify end |
#targets ⇒ Object
Returns the value of attribute targets.
6 7 8 |
# File 'lib/octogate/configuration.rb', line 6 def targets @targets end |
#token ⇒ Object
Returns the value of attribute token.
6 7 8 |
# File 'lib/octogate/configuration.rb', line 6 def token @token end |