Module: Radfish::Core::Utility

Defined in:
lib/radfish/core/utility.rb

Instance Method Summary collapse

Instance Method Details

#accountsObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/radfish/core/utility.rb', line 18

def accounts
  raise NotImplementedError, "Adapter must implement #accounts"
end

#clear_sel_logObject

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/radfish/core/utility.rb', line 22

def (username:, password:, role: "Administrator")
  raise NotImplementedError, "Adapter must implement #create_account"
end

#delete_account(username) ⇒ Object

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/radfish/core/utility.rb', line 26

def (username)
  raise NotImplementedError, "Adapter must implement #delete_account"
end

#get_firmware_versionObject

Raises:

  • (NotImplementedError)


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_logObject

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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_infoObject

Raises:

  • (NotImplementedError)


38
39
40
# File 'lib/radfish/core/utility.rb', line 38

def service_info
  raise NotImplementedError, "Adapter must implement #service_info"
end

#sessionsObject

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


30
31
32
# File 'lib/radfish/core/utility.rb', line 30

def (username:, new_password:)
  raise NotImplementedError, "Adapter must implement #update_account_password"
end