Class: LogsCfPlugin::ClientConfig
- Inherits:
-
Object
- Object
- LogsCfPlugin::ClientConfig
- Defined in:
- lib/lds-cf-plugin/loggregator/client_config.rb
Instance Attribute Summary collapse
-
#loggregator_host ⇒ Object
readonly
Returns the value of attribute loggregator_host.
-
#loggregator_port ⇒ Object
readonly
Returns the value of attribute loggregator_port.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#trace ⇒ Object
readonly
Returns the value of attribute trace.
-
#use_ssl ⇒ Object
readonly
Returns the value of attribute use_ssl.
-
#user_token ⇒ Object
readonly
Returns the value of attribute user_token.
Instance Method Summary collapse
-
#initialize(loggregator_host, loggregator_port, user_token, output, trace, use_ssl = true) ⇒ ClientConfig
constructor
A new instance of ClientConfig.
Constructor Details
#initialize(loggregator_host, loggregator_port, user_token, output, trace, use_ssl = true) ⇒ ClientConfig
Returns a new instance of ClientConfig.
5 6 7 8 9 10 11 12 |
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 5 def initialize(loggregator_host, loggregator_port, user_token, output, trace, use_ssl = true) @output = output @loggregator_host = loggregator_host @loggregator_port = loggregator_port @user_token = user_token @trace = trace @use_ssl = use_ssl end |
Instance Attribute Details
#loggregator_host ⇒ Object (readonly)
Returns the value of attribute loggregator_host.
3 4 5 |
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3 def loggregator_host @loggregator_host end |
#loggregator_port ⇒ Object (readonly)
Returns the value of attribute loggregator_port.
3 4 5 |
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3 def loggregator_port @loggregator_port end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
3 4 5 |
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3 def output @output end |
#trace ⇒ Object (readonly)
Returns the value of attribute trace.
3 4 5 |
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3 def trace @trace end |
#use_ssl ⇒ Object (readonly)
Returns the value of attribute use_ssl.
3 4 5 |
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3 def use_ssl @use_ssl end |
#user_token ⇒ Object (readonly)
Returns the value of attribute user_token.
3 4 5 |
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3 def user_token @user_token end |