Introducing the VirginSuperHub gem
require 'virginsuperhub'
SuperHub2.new('192.168.4.1').login('password').wifi(:off).logout
In the above example the virginsuperhub gem is used to log in to your Super Hub 2, and switch the WiFi off.
Resources
- virginsuperhub https://rubygems.org/gems/virginsuperhub
superhub virgin gem virginmedia ferrum