Class: Workarea::Storefront::Checkout::ShippingViewModel

Inherits:
ApplicationViewModel
  • Object
show all
Includes:
Workarea::Storefront::CheckoutContent
Defined in:
app/view_models/workarea/storefront/checkout/shipping_view_model.rb

Instance Method Summary collapse

Methods included from Workarea::Storefront::CheckoutContent

#content_lookup

Methods included from DisplayContent

#browser_title, #content, #content_blocks, #content_blocks_for, #meta_description, #open_graph_asset

Instance Method Details

#shipping_addressObject



8
9
10
# File 'app/view_models/workarea/storefront/checkout/shipping_view_model.rb', line 8

def shipping_address
  shipping.try(:address)
end