Commit 77d31461 by ivan Lan

Fix snapshot :shotengai_series

parent c75cdb36
...@@ -86,10 +86,11 @@ module Shotengai ...@@ -86,10 +86,11 @@ module Shotengai
%i{ %i{
title cover_image banners detail title cover_image banners detail
original_price price original_price price
shotengai_product
}.each do |column| }.each do |column|
define_method(column) { super() || shotengai_series.send(column) } define_method(column) { super() || shotengai_series.send(column) }
end end
delegate :shotengai_product, to: :shotengai_series
def spec_value # Hash def spec_value # Hash
super() || shotengai_series.spec_value.decode super() || shotengai_series.spec_value.decode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment