Class: Smartware::Driver::Watchdog::Dummy

Inherits:
Object
  • Object
show all
Defined in:
lib/smartware/drivers/watchdog/dummy.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Dummy

Returns a new instance of Dummy.



7
8
9
# File 'lib/smartware/drivers/watchdog/dummy.rb', line 7

def initialize(config)

end

Instance Method Details

#errorObject



23
24
25
# File 'lib/smartware/drivers/watchdog/dummy.rb', line 23

def error
  nil
end

#modelObject



11
12
13
# File 'lib/smartware/drivers/watchdog/dummy.rb', line 11

def model
  "Dummy watchdog"
end

#reboot_modemObject



19
20
21
# File 'lib/smartware/drivers/watchdog/dummy.rb', line 19

def reboot_modem

end

#versionObject



15
16
17
# File 'lib/smartware/drivers/watchdog/dummy.rb', line 15

def version
  ""
end