class Pohoda::Parsers::Prn::AgendaPrintType

Public Instance Methods

printer_settings() click to toggle source
# File lib/pohoda/parsers/prn/agenda_print_type.rb, line 7
def printer_settings
  array_of_at(Prn::PrinterSettingsType, ['prn:printerSettings'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/prn/agenda_print_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:printer_settings] = printer_settings.map(&:to_h) if has? 'prn:printerSettings'

  hash
end