Module: SolidusBolt::ShipmentDecorator

Defined in:
app/decorators/models/solidus_bolt/shipment_decorator.rb

Instance Method Summary collapse

Instance Method Details

#bolt_shipmentObject



5
6
7
8
9
10
11
# File 'app/decorators/models/solidus_bolt/shipment_decorator.rb', line 5

def bolt_shipment
  {
    shipping_address: order.ship_address.bolt_address(order.email),
    reference: number,
    cost: display_total.cents
  }
end