lib/loopiator/client.rb in loopiator-0.3.4 vs lib/loopiator/client.rb in loopiator-0.3.5
- old
+ new
@@ -5,14 +5,14 @@
class Client
attr_accessor :client
include Loopiator::Logger
- def initialize(connection_options = {}, debug: false)
+ def initialize(connection_options = {}, debug = false)
set_client(connection_options, debug: debug)
end
- def set_client(connection_options = {}, debug: false)
+ def set_client(connection_options = {}, debug = false)
connection_options = generate_connection_options(connection_options)
self.client = XMLRPC::Client.new_from_hash(connection_options)
enable_debugging if debug
set_client_options(connection_options)
\ No newline at end of file