Class: WLIConfig::WLANConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/wliconfig.rb

Overview

WLAN configure

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ssid, mode, pass) ⇒ WLANConfig

Returns a new instance of WLANConfig.



125
126
127
# File 'lib/wliconfig.rb', line 125

def initialize(ssid, mode, pass)
  @ssid, @mode, @pass = ssid, mode, pass
end

Instance Attribute Details

#modeObject (readonly)

Returns the value of attribute mode.



123
124
125
# File 'lib/wliconfig.rb', line 123

def mode
  @mode
end

#passObject (readonly)

Returns the value of attribute pass.



123
124
125
# File 'lib/wliconfig.rb', line 123

def pass
  @pass
end

#ssidObject (readonly)

Returns the value of attribute ssid.



123
124
125
# File 'lib/wliconfig.rb', line 123

def ssid
  @ssid
end