Sha256: d99e34fb03e70171c292deeecb9f62ac67c99399771a98c9ae4a0ed6963e6a2a

Contents?: true

Size: 263 Bytes

Versions: 62

Compression:

Stored size: 263 Bytes

Contents

module Workarea
  module Storefront
    class Checkout::ShippingViewModel < ApplicationViewModel
      include CheckoutContent

      delegate :shipping_service, to: :shipping

      def shipping_address
        shipping.try(:address)
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.13 app/view_models/workarea/storefront/checkout/shipping_view_model.rb
workarea-storefront-3.4.12 app/view_models/workarea/storefront/checkout/shipping_view_model.rb