Sha256: 3916be80840200a0f72f7cd37e0a96038776dc4960009dc0c066272a7994db4d

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

module Workarea
  module FlowIo
    class ShippingNotifications
      include Sidekiq::Worker

      def perform(id, tracking_number)
        shipping_notification_form = FlowIo::DetailedShippingNotificationForm.from(id: id, tracking_number: tracking_number)

        FlowIo.client.shipping_notifications.post(FlowIo.organization_id, shipping_notification_form)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-flow_io-1.2.1 app/workers/workarea/flow_io/shipping_notifications.rb