37 38 39 40 41 42 43 44
# File 'lib/rss/maker/opds.rb', line 37 def to_feed(feed, current) price = ::RSS::OPDS::Price.new price.value = value price.currencycode = currencycode current.opds_prices << price set_parent price, current setup_other_elements(feed) end