Class: Y2Network::Widgets::EapPeap
- Inherits:
-
CWM::CustomWidget
- Object
- CWM::CustomWidget
- Y2Network::Widgets::EapPeap
- Defined in:
- src/lib/y2network/widgets/wireless_eap.rb
Overview
High level widget that represent PEAP authentication
Instance Attribute Summary collapse
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
Instance Method Summary collapse
- #contents ⇒ Object
-
#initialize(settings) ⇒ EapPeap
constructor
A new instance of EapPeap.
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
#settings ⇒ Object (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
#contents ⇒ Object
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 |