Sha256: 154dc5c930799cd7ca465ba08cee2a19ef14e5a2b2b9fdfc75370d40c4b1f115
Contents?: true
Size: 344 Bytes
Versions: 8
Compression:
Stored size: 344 Bytes
Contents
# frozen_string_literal: true module Desertcart module Marketplace class OrderItemRejection class Serializer < Desertcart::Serializer attribute :order_item_id do |args = {}| resource = args.fetch(:resource) resource.order_item.ledger_id end attribute :reason end end end end
Version data entries
8 entries across 8 versions & 1 rubygems