Sha256: af3ef35766396abfb15ed59f2b9db0eb1d42885f03627596b384184da0d45f63
Contents?: true
Size: 247 Bytes
Versions: 9
Compression:
Stored size: 247 Bytes
Contents
module Spree class Calculator::FlatRate < Calculator preference :amount, :decimal, :default => 0 def self.description I18n.t(:flat_rate_per_order) end def compute(object=nil) self.preferred_amount end end end
Version data entries
9 entries across 9 versions & 1 rubygems