class Pohoda::Parsers::Prn::PrintType
Public Instance Methods
printer_settings()
click to toggle source
# File lib/pohoda/parsers/prn/print_type.rb, line 11 def printer_settings array_of_at(Prn::PrinterSettingsType, ['prn:printerSettings']) end
record()
click to toggle source
# File lib/pohoda/parsers/prn/print_type.rb, line 7 def record submodel_at(Ftr::RecordPrintType, 'prn:record') end
to_h()
click to toggle source
# File lib/pohoda/parsers/prn/print_type.rb, line 15 def to_h hash = {} hash[:attributes] = attributes hash[:record] = record.to_h if has? 'prn:record' hash[:printer_settings] = printer_settings.map(&:to_h) if has? 'prn:printerSettings' hash end