Sha256: d55a4dbfc1cab35c8aea117cc0a49530c942f95c650ef017567bee22b498e78e

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

module GoPuff
  module TaxService
    module Actions
      class Cancel < GoPuff::TaxService::Tax
        private

        def body_params
          @body_params ||= { orderId: order.id_obfuscated.to_s }
        end

        def endpoint
          '/api/taxes/refund'
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
go_puff-tax_service-1.5.0 lib/go_puff/tax_service/actions/cancel.rb