class Dugway::Drops::ShippingOptionDrop

Public Instance Methods

country() click to toggle source
# File lib/dugway/liquid/drops/shipping_option_drop.rb, line 4
def country
  @country ||= CountryDrop.new(source['country'])
end
strict() click to toggle source

internal

# File lib/dugway/liquid/drops/shipping_option_drop.rb, line 10
def strict
  @strict ||= product.shipping.size > 1 || product.shipping.first.country.name.present?
end