Class: C2eCore::Drops::PrinterDrop

Inherits:
BaseDrop
  • Object
show all
Defined in:
/build/app/mailers/c2e_core/drops/printer_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(printer, raw_state_code) ⇒ PrinterDrop

Returns a new instance of PrinterDrop.

Instance Method Details

#nameString

Returns - Name of printer. E.g.: “Kiosek Pizza Express - Kuželna”.

Returns:

  • (String)
    • Name of printer. E.g.: “Kiosek Pizza Express - Kuželna”.

#raw_state_codeString

Returns - The printer’s raw state code. E.g.: “PAPER_CUT_IS_ABNORMAL”.

Returns:

  • (String)
    • The printer’s raw state code. E.g.: “PAPER_CUT_IS_ABNORMAL”.