class Pohoda::Parsers::Lst::ListActivityType

Public Instance Methods

item_activity() click to toggle source
# File lib/pohoda/parsers/lst/list_activity_type.rb, line 7
def item_activity
  at 'lst:itemActivity'
end
item_activity_attributes() click to toggle source
# File lib/pohoda/parsers/lst/list_activity_type.rb, line 11
def item_activity_attributes
  attributes_at 'lst:itemActivity'
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_activity_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:item_activity] = item_activity if has? 'lst:itemActivity'
  hash[:item_activity_attributes] = item_activity_attributes if has? 'lst:itemActivity'

  hash
  super.merge(hash)
end