Module: Smartware

Defined in:
lib/smartware.rb,
lib/smartware/logging.rb,
lib/smartware/service.rb,
lib/smartware/version.rb,
lib/smartware/clients/modem.rb,
lib/smartware/clients/printer.rb,
lib/smartware/process_manager.rb,
lib/smartware/clients/watchdog.rb,
lib/smartware/interfaces/modem.rb,
lib/smartware/connection_monitor.rb,
lib/smartware/interfaces/printer.rb,
lib/smartware/clients/card_reader.rb,
lib/smartware/drivers/modem/dummy.rb,
lib/smartware/interfaces/watchdog.rb,
lib/smartware/interfaces/interface.rb,
lib/smartware/clients/cash_acceptor.rb,
lib/smartware/drivers/printer/dummy.rb,
lib/smartware/drivers/modem/standard.rb,
lib/smartware/drivers/watchdog/dummy.rb,
lib/smartware/interfaces/card_reader.rb,
lib/smartware/drivers/printer/esc_pos.rb,
lib/smartware/interfaces/cash_acceptor.rb,
lib/smartware/drivers/card_reader/dummy.rb,
lib/smartware/drivers/card_reader/ict3_k5.rb,
lib/smartware/drivers/cash_acceptor/ccnet.rb,
lib/smartware/drivers/cash_acceptor/dummy.rb,
lib/smartware/drivers/common/ccnet_connection.rb,
lib/smartware/drivers/common/sankyo_connection.rb,
lib/smartware/drivers/watchdog/watchdog_daemon.rb,
lib/smartware/drivers/common/command_based_device.rb

Defined Under Namespace

Modules: Client, Driver, Interface, Logging, ProcessManager Classes: CCNETConnection, CommandBasedDevice, ConnectionMonitor, SankyoConnection, Service

Constant Summary collapse

VERSION =
"0.3.1"

Class Method Summary collapse

Class Method Details

.cash_acceptorObject



35
36
37
# File 'lib/smartware.rb', line 35

def self.cash_acceptor
  Smartware::Client::CashAcceptor
end

.devices {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Smartware)

    the object that the method was called on



31
32
33
# File 'lib/smartware.rb', line 31

def self.devices
  yield self
end

.modemObject



43
44
45
# File 'lib/smartware.rb', line 43

def self.modem
  Smartware::Client::Modem
end

.printerObject



39
40
41
# File 'lib/smartware.rb', line 39

def self.printer
  Smartware::Client::Printer
end

.watchdogObject



47
48
49
# File 'lib/smartware.rb', line 47

def self.watchdog
  Smartware::Client::Watchdog
end