class Pohoda::Parsers::Ftr::RequestAddressBookType

Public Instance Methods

filter() click to toggle source
# File lib/pohoda/parsers/ftr/request_address_book_type.rb, line 7
def filter
  submodel_at(Ftr::FilterAdbsType, 'ftr:filter')
end
to_h() click to toggle source
# File lib/pohoda/parsers/ftr/request_address_book_type.rb, line 19
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/request_address_book_type.rb, line 11
def user_filter_name
  at 'ftr:userFilterName'
end
user_filter_name_attributes() click to toggle source
# File lib/pohoda/parsers/ftr/request_address_book_type.rb, line 15
def user_filter_name_attributes
  attributes_at 'ftr:userFilterName'
end