Class: Y2Network::Widgets::EapPeap

Inherits:
CWM::CustomWidget
  • Object
show all
Defined in:
src/lib/y2network/widgets/wireless_eap.rb

Overview

High level widget that represent PEAP authentication

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ EapPeap

Returns a new instance of EapPeap.



99
100
101
102
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 99

def initialize(settings)
  super()
  @settings = settings
end

Instance Attribute Details

#settingsObject (readonly)

Returns the value of attribute settings.



97
98
99
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 97

def settings
  @settings
end

Instance Method Details

#contentsObject



104
105
106
107
108
109
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 104

def contents
  VBox(
    HBox(EapUser.new(@settings), HSpacing(1), EapPassword.new(@settings)),
    ServerCAPath.new(@settings)
  )
end