Class: C2eCore::Drops::PrinterDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/printer_drop.rb
Instance Method Summary collapse
-
#initialize(printer, raw_state_code) ⇒ PrinterDrop
constructor
A new instance of PrinterDrop.
-
#name ⇒ String
- Name of printer.
-
#raw_state_code ⇒ String
- The printer's raw state code.
Constructor Details
#initialize(printer, raw_state_code) ⇒ PrinterDrop
Returns a new instance of PrinterDrop.
Instance Method Details
#name ⇒ String
Returns - Name of printer. E.g.: "Kiosek Pizza Express - Kuželna".
#raw_state_code ⇒ String
Returns - The printer's raw state code. E.g.: "PAPER_CUT_IS_ABNORMAL".