class Pohoda::Parsers::Nms::PeriodAccountUnitType
Public Instance Methods
date_from()
click to toggle source
# File lib/pohoda/parsers/nms/period_account_unit_type.rb, line 7 def date_from at 'nms:dateFrom' end
date_from_attributes()
click to toggle source
# File lib/pohoda/parsers/nms/period_account_unit_type.rb, line 11 def date_from_attributes attributes_at 'nms:dateFrom' end
date_till()
click to toggle source
# File lib/pohoda/parsers/nms/period_account_unit_type.rb, line 15 def date_till at 'nms:dateTill' end
date_till_attributes()
click to toggle source
# File lib/pohoda/parsers/nms/period_account_unit_type.rb, line 19 def date_till_attributes attributes_at 'nms:dateTill' end
to_h()
click to toggle source
# File lib/pohoda/parsers/nms/period_account_unit_type.rb, line 23 def to_h hash = {} hash[:attributes] = attributes hash[:date_from] = date_from if has? 'nms:dateFrom' hash[:date_from_attributes] = date_from_attributes if has? 'nms:dateFrom' hash[:date_till] = date_till if has? 'nms:dateTill' hash[:date_till_attributes] = date_till_attributes if has? 'nms:dateTill' hash end