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.


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

def initialize(settings)
  @settings = settings
end

Instance Attribute Details

#settingsObject (readonly)

Returns the value of attribute settings.


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

def settings
  @settings
end

Instance Method Details

#contentsObject


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

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