class Pohoda::Parsers::Lst::ListActionPriceType

Public Instance Methods

action_price() click to toggle source
# File lib/pohoda/parsers/lst/list_action_price_type.rb, line 7
def action_price
  array_of_at(Acp::ActionPriceType, ['lst:actionPrice'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_action_price_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:action_price] = action_price.map(&:to_h) if has? 'lst:actionPrice'

  hash
  super.merge(hash)
end