class Pohoda::Parsers::Ftr::FilterIDType

Public Instance Methods

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

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

  hash
end