Class: Y2Network::Widgets::EapTtls
- Inherits:
-
CWM::CustomWidget
- Object
- CWM::CustomWidget
- Y2Network::Widgets::EapTtls
- Defined in:
- src/lib/y2network/widgets/wireless_eap.rb
Overview
High level widget that represent TTLS authentication
Instance Attribute Summary collapse
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
Instance Method Summary collapse
- #contents ⇒ Object
-
#initialize(settings) ⇒ EapTtls
constructor
A new instance of EapTtls.
Constructor Details
#initialize(settings) ⇒ EapTtls
Returns a new instance of EapTtls.
114 115 116 |
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 114 def initialize(settings) @settings = settings end |
Instance Attribute Details
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
112 113 114 |
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 112 def settings @settings end |
Instance Method Details
#contents ⇒ Object
118 119 120 121 122 123 124 |
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 118 def contents VBox( HBox(EapUser.new(@settings), HSpacing(1), EapPassword.new(@settings)), EapAnonymousUser.new(@settings), ServerCAPath.new(@settings) ) end |