class Pohoda::Parsers::Typ::TypeRound
Public Instance Methods
price_round()
click to toggle source
# File lib/pohoda/parsers/typ/type_round.rb, line 8 def price_round at 'typ:priceRound' end
price_round_attributes()
click to toggle source
# File lib/pohoda/parsers/typ/type_round.rb, line 12 def price_round_attributes attributes_at 'typ:priceRound' end
to_h()
click to toggle source
# File lib/pohoda/parsers/typ/type_round.rb, line 16 def to_h hash = {} hash[:attributes] = attributes hash[:price_round] = price_round if has? 'typ:priceRound' hash[:price_round_attributes] = price_round_attributes if has? 'typ:priceRound' mega.inject(hash) { |memo, r| memo.merge r } end