Sha256: 5981fd02a746a050879c4acace689e0f8a6b789b7db350e9ce064dfeb8727c05
Contents?: true
Size: 500 Bytes
Versions: 8
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true module Desertcart module Marketplace class Movement class Serializer < Desertcart::Serializer id attribute :carrier attribute :tracking_number attribute :shipping_address_id attribute :departed_at attribute :estimated_arrival_at attribute :order_item_ids do |args = {}| resource = args.fetch(:resource) resource.order_items.map(&:ledger_id) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems