class Pohoda::Parsers::Ftr::FilterDocsType
Public Instance Methods
date_from()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 15 def date_from at 'ftr:dateFrom' end
date_from_attributes()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 19 def date_from_attributes attributes_at 'ftr:dateFrom' end
date_till()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 23 def date_till at 'ftr:dateTill' end
date_till_attributes()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 27 def date_till_attributes attributes_at 'ftr:dateTill' end
id()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 7 def id at 'ftr:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 11 def id_attributes attributes_at 'ftr:id' end
last_changes()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 43 def last_changes at 'ftr:lastChanges' end
last_changes_attributes()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 47 def last_changes_attributes attributes_at 'ftr:lastChanges' end
selected_companys()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 35 def selected_companys array_of_at(Typ::StringCompany, ['ftr:selectedCompanys', 'ftr:company']) end
selected_ico()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 39 def selected_ico array_of_at(Typ::IcoType, ['ftr:selectedIco', 'ftr:ico']) end
selected_numbers()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 31 def selected_numbers array_of_at(Typ::NumberType, ['ftr:selectedNumbers', 'ftr:number']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/ftr/filter_docs_type.rb, line 51 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'ftr:id' hash[:id_attributes] = id_attributes if has? 'ftr:id' hash[:date_from] = date_from if has? 'ftr:dateFrom' hash[:date_from_attributes] = date_from_attributes if has? 'ftr:dateFrom' hash[:date_till] = date_till if has? 'ftr:dateTill' hash[:date_till_attributes] = date_till_attributes if has? 'ftr:dateTill' hash[:selected_numbers] = selected_numbers.map(&:to_h) if has? 'ftr:selectedNumbers' hash[:selected_companys] = selected_companys.map(&:to_h) if has? 'ftr:selectedCompanys' hash[:selected_ico] = selected_ico.map(&:to_h) if has? 'ftr:selectedIco' hash[:last_changes] = last_changes if has? 'ftr:lastChanges' hash[:last_changes_attributes] = last_changes_attributes if has? 'ftr:lastChanges' hash end