bin/netseg-update in ruby-jss-0.8.2 vs bin/netseg-update in ruby-jss-0.9.0.b1
- old
+ new
@@ -146,10 +146,10 @@
update_network_segments
cache_latest_data
end # run
def connect_to_jss
- JSS::API.connect(
+ JSS.api_connection.connect(
server: @server,
port: @port,
verify_cert: @verify_cert,
user: @user,
pw: @getpass,