Module: Spree::NumberAsParam

Extended by:
ActiveSupport::Concern
Included in:
Order, Payment, Shipment
Defined in:
app/models/concerns/spree/number_as_param.rb

Instance Method Summary collapse

Instance Method Details

#to_paramObject



5
6
7
# File 'app/models/concerns/spree/number_as_param.rb', line 5

def to_param
  number.presence.to_s
end