class NSIVideoConvert::Client::Configuration
Public Class Methods
host(host = nil)
click to toggle source
Set the default {NSIVideoConvert::Client} host
@param [String] host to set
@return [String] the host set
# File lib/nsivideoconvert/configuration.rb, line 33 def host(host = nil) @host = host unless host.nil? @host end
password(password = nil)
click to toggle source
Set the default {NSIVideoConvert::Client} password
@param [String] password to set
@return [String] the password set
# File lib/nsivideoconvert/configuration.rb, line 22 def password(password = nil) @password = password unless password.nil? @password end
port(port = nil)
click to toggle source
Set the default {NSIVideoConvert::Client} port
@param [String] port to set
@return [String] the port set
# File lib/nsivideoconvert/configuration.rb, line 44 def port(port = nil) @port = port unless port.nil? @port end
settings()
click to toggle source
See how are the settings
@return [Hash] actual settings
# File lib/nsivideoconvert/configuration.rb, line 52 def settings {user: @user, password: @password, host: @host, port: @port} end
user(user = nil)
click to toggle source
Set the default {NSIVideoConvert::Client} user
@param [String] user to set
@return [String] the user set
# File lib/nsivideoconvert/configuration.rb, line 11 def user(user = nil) @user = user unless user.nil? @user end