Class: OSvCRuby::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/osvc_ruby/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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