class Tlalok::Adapter::Ospi::CLI
Public Instance Methods
off(station)
click to toggle source
# File lib/tlalok/adapter/ospi/cli.rb, line 15 def off(station) controller = Controller.new controller.close station.to_i end
on(station)
click to toggle source
# File lib/tlalok/adapter/ospi/cli.rb, line 8 def on(station) controller = Controller.new controller.open station.to_i end