Module: Radfish::Core::Utility
- Defined in:
- lib/radfish/core/utility.rb
Instance Method Summary collapse
- #accounts ⇒ Object
- #clear_sel_log ⇒ Object
- #create_account(username:, password:, role: "Administrator") ⇒ Object
- #delete_account(username) ⇒ Object
- #get_firmware_version ⇒ Object
- #sel_log ⇒ Object
- #sel_summary(limit: 10) ⇒ Object
- #service_info ⇒ Object
- #sessions ⇒ Object
- #update_account_password(username:, new_password:) ⇒ Object
Instance Method Details
#accounts ⇒ Object
18 19 20 |
# File 'lib/radfish/core/utility.rb', line 18 def accounts raise NotImplementedError, "Adapter must implement #accounts" end |
#clear_sel_log ⇒ Object
10 11 12 |
# File 'lib/radfish/core/utility.rb', line 10 def clear_sel_log raise NotImplementedError, "Adapter must implement #clear_sel_log" end |
#create_account(username:, password:, role: "Administrator") ⇒ Object
22 23 24 |
# File 'lib/radfish/core/utility.rb', line 22 def create_account(username:, password:, role: "Administrator") raise NotImplementedError, "Adapter must implement #create_account" end |
#delete_account(username) ⇒ Object
26 27 28 |
# File 'lib/radfish/core/utility.rb', line 26 def delete_account(username) raise NotImplementedError, "Adapter must implement #delete_account" end |
#get_firmware_version ⇒ Object
42 43 44 |
# File 'lib/radfish/core/utility.rb', line 42 def get_firmware_version raise NotImplementedError, "Adapter must implement #get_firmware_version" end |
#sel_log ⇒ Object
6 7 8 |
# File 'lib/radfish/core/utility.rb', line 6 def sel_log raise NotImplementedError, "Adapter must implement #sel_log" end |
#sel_summary(limit: 10) ⇒ Object
14 15 16 |
# File 'lib/radfish/core/utility.rb', line 14 def sel_summary(limit: 10) raise NotImplementedError, "Adapter must implement #sel_summary" end |
#service_info ⇒ Object
38 39 40 |
# File 'lib/radfish/core/utility.rb', line 38 def service_info raise NotImplementedError, "Adapter must implement #service_info" end |
#sessions ⇒ Object
34 35 36 |
# File 'lib/radfish/core/utility.rb', line 34 def sessions raise NotImplementedError, "Adapter must implement #sessions" end |
#update_account_password(username:, new_password:) ⇒ Object
30 31 32 |
# File 'lib/radfish/core/utility.rb', line 30 def update_account_password(username:, new_password:) raise NotImplementedError, "Adapter must implement #update_account_password" end |