class Pohoda::Parsers::Prn::ReportType

Public Instance Methods

id() click to toggle source
# File lib/pohoda/parsers/prn/report_type.rb, line 7
def id
  at 'prn:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/prn/report_type.rb, line 11
def id_attributes
  attributes_at 'prn:id'
end
to_h() click to toggle source
# File lib/pohoda/parsers/prn/report_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'prn:id'
  hash[:id_attributes] = id_attributes if has? 'prn:id'

  hash
end