class Pohoda::Parsers::Acv::ActivityType

Public Instance Methods

activity_header() click to toggle source
# File lib/pohoda/parsers/acv/activity_type.rb, line 7
def activity_header
  submodel_at(Acv::ActivityHeaderType, 'acv:activityHeader')
end
to_h() click to toggle source
# File lib/pohoda/parsers/acv/activity_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:activity_header] = activity_header.to_h if has? 'acv:activityHeader'

  hash
end