Sha256: a1f5353b68c5dfe0369a5afb1752d25180812ecf75ff3e4de1d87e17631a1916

Contents?: true

Size: 306 Bytes

Versions: 6

Compression:

Stored size: 306 Bytes

Contents

module Workarea
  decorate Fulfillment, with: :reviews do
    def ship_items(tracking_number, shipped_items)
      super.tap do |result|
        if result && Workarea.config.send_transactional_emails
          ScheduleReviewRequests.perform_async(id, shipped_items)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-reviews-3.1.2 app/models/workarea/fulfillment.decorator
workarea-reviews-3.1.1 app/models/workarea/fulfillment.decorator
workarea-reviews-3.1.0 app/models/workarea/fulfillment.decorator
workarea-reviews-3.0.10 app/models/workarea/fulfillment.decorator
workarea-reviews-3.0.9 app/models/workarea/fulfillment.decorator
workarea-reviews-3.0.8 app/models/workarea/fulfillment.decorator