lib/openbd/resources/onix/collateral_detail.rb in openbd_api-0.5.0 vs lib/openbd/resources/onix/collateral_detail.rb in openbd_api-0.5.1

- old
+ new

@@ -22,17 +22,17 @@ attr_reader :cover # Product image / Artwork (付録、商品イメージ) attr_reader :image - def initialize(source) + def initialize(src) super @short_description = nil @description = nil @toc = nil @cover = [] @image = [] - parse(source) + parse(src) end def parse(cd) if cd["TextContent"] cd["TextContent"].each do |text|