Sha256: ec7ffa78d6d26741736c5cf85740e6c91f7024d8e6e61e21f119c058d652cc84

Contents?: true

Size: 255 Bytes

Versions: 5

Compression:

Stored size: 255 Bytes

Contents

Spree::ShippingRate.class_eval do

  def timing_info
    if days || info
      text = [Spree.t(:pre_delivery_days_info)]
      text << "#{days} #{Spree.t(:delivery_days)}" if days
      text << "(#{info})" if info
      text.join(' ')
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_correios_shipping-1.1.4 app/models/spree/shipping_rate_decorator.rb
spree_correios_shipping-1.1.3 app/models/spree/shipping_rate_decorator.rb
spree_correios_shipping-1.1.2 app/models/spree/shipping_rate_decorator.rb
spree_correios_shipping-1.1.1 app/models/spree/shipping_rate_decorator.rb
spree_correios_shipping-1.1.0 app/models/spree/shipping_rate_decorator.rb