require "freewifi/version" module Freewifi # Your code goes here... def initialize(hub1ip, hub2ip, username_hub, password_hub) @mtik_hub1_ip = hub1ip @mtik_hub2_ip = hub2ip @user_hub = username_hub @password_hub = password_hub end def self.init(hub1ip, hub2ip, username, password) #@@mtik_hub1_ip = hub1ip end def add_eoip_for_mikr_hub(bridge_name, ap_ip_address, tunnel_id, tunnel_name) newhub = NEWhub.new newhub.add_eoip_for_mikr(bridge_name, ap_ip_address, tunnel_id, tunnel_name, @mtik_hub1_ip, @mtik_hub2_ip, @user_hub, @password_hub) end end