class Pohoda::Parsers::Ftr::FilterDocsDeleteType

Public Instance Methods

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

  hash[:id] = id if has? 'ftr:id'
  hash[:id_attributes] = id_attributes if has? 'ftr:id'
  hash[:number] = number if has? 'ftr:number'
  hash[:number_attributes] = number_attributes if has? 'ftr:number'

  hash
end