Module: Spree::Shipstation::ExportHelper

Defined in:
app/helpers/spree/shipstation/export_helper.rb

Constant Summary collapse

DATE_FORMAT =
"%m/%d/%Y %H:%M"

Class Method Summary collapse

Class Method Details

.bill_address(xml, address) ⇒ Object



10
11
12
# File 'app/helpers/spree/shipstation/export_helper.rb', line 10

def self.bill_address(xml, address)
  render_address(xml, address, "BillTo", include_street: false)
end

.ship_address(xml, address) ⇒ Object



14
15
16
# File 'app/helpers/spree/shipstation/export_helper.rb', line 14

def self.ship_address(xml, address)
  render_address(xml, address, "ShipTo", include_street: true)
end