Class: OSvCRuby::Configuration
- Inherits:
-
Object
- Object
- OSvCRuby::Configuration
- Defined in:
- lib/osvc_ruby/configuration.rb
Instance Attribute Summary collapse
-
#demo_site ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block.
-
#interface ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block.
-
#no_ssl_verify ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block.
-
#password ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block.
-
#suppress_rules ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block.
-
#username ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block.
-
#version ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block.
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 12 13 |
# File 'lib/osvc_ruby/configuration.rb', line 8 def initialize @no_ssl_verify = false @version = 'v1.3' @suppress_rules = false @demo_site = false end |
Instance Attribute Details
#demo_site ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block
6 7 8 |
# File 'lib/osvc_ruby/configuration.rb', line 6 def demo_site @demo_site end |
#interface ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block
6 7 8 |
# File 'lib/osvc_ruby/configuration.rb', line 6 def interface @interface end |
#no_ssl_verify ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block
6 7 8 |
# File 'lib/osvc_ruby/configuration.rb', line 6 def no_ssl_verify @no_ssl_verify end |
#password ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block
6 7 8 |
# File 'lib/osvc_ruby/configuration.rb', line 6 def password @password end |
#suppress_rules ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block
6 7 8 |
# File 'lib/osvc_ruby/configuration.rb', line 6 def suppress_rules @suppress_rules end |
#username ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block
6 7 8 |
# File 'lib/osvc_ruby/configuration.rb', line 6 def username @username end |
#version ⇒ Object
A holder class that holds the configuration information for the OSvCRuby::Client block
6 7 8 |
# File 'lib/osvc_ruby/configuration.rb', line 6 def version @version end |