Module: Birst_Command::Config
Instance Attribute Summary collapse
-
#config_full_path ⇒ Object
Returns the value of attribute config_full_path.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#config_full_path ⇒ Object
Returns the value of attribute config_full_path.
5 6 7 |
# File 'lib/birst_command/config.rb', line 5 def config_full_path @config_full_path end |
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/birst_command/config.rb', line 8 def end |
Instance Method Details
#read_config(config_full_path = @config_full_path) ⇒ Object
14 15 16 |
# File 'lib/birst_command/config.rb', line 14 def read_config(config_full_path = @config_full_path) = .merge!(JSON.parse(IO.read(config_full_path), :symbolize_names => true)) end |
#set_debug ⇒ Object
18 19 20 21 22 23 |
# File 'lib/birst_command/config.rb', line 18 def set_debug = .merge!({ :soap_log_level => :debug, :soap_log => true }) end |