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

#initializeConfiguration

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_siteObject

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

#interfaceObject

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_verifyObject

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

#passwordObject

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_rulesObject

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

#usernameObject

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

#versionObject

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