1
0

Implement discount PORO

This commit is contained in:
Tim Kächele 2021-03-07 18:58:41 +01:00
parent 86dffbc8fe
commit 337419fe28

View File

@ -0,0 +1,7 @@
module PlanetExpress
Discount = Struct.new(:amount, :rule) do
def inspect
"Discount [amount=#{amount} rule=#{rule.inspect}]"
end
end
end