module Pohoda::Parsers::Ftr::Groups::GroupFilter2

Public Instance Methods

filter() click to toggle source
# File lib/pohoda/parsers/ftr/groups/group_filter2.rb, line 6
def filter
  submodel_at(Ftr::FilterIDType, 'ftr:filter')
end
to_h() click to toggle source
# File lib/pohoda/parsers/ftr/groups/group_filter2.rb, line 18
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:filter] = filter.to_h if has? 'ftr:filter'
  hash[:user_filter_name] = user_filter_name if has? 'ftr:userFilterName'
  hash[:user_filter_name_attributes] = user_filter_name_attributes if has? 'ftr:userFilterName'

  hash
end
user_filter_name() click to toggle source
# File lib/pohoda/parsers/ftr/groups/group_filter2.rb, line 10
def user_filter_name
  at 'ftr:userFilterName'
end
user_filter_name_attributes() click to toggle source
# File lib/pohoda/parsers/ftr/groups/group_filter2.rb, line 14
def user_filter_name_attributes
  attributes_at 'ftr:userFilterName'
end