Sha256: 27ce5893f5a1c7ca33f3e5eed1fa625279839bc248c8b1598a56322153f0b1b2

Contents?: true

Size: 418 Bytes

Versions: 5

Compression:

Stored size: 418 Bytes

Contents

module Workarea
  module Klarna
    class Gateway
      class ReleaseRequest < Request
        def initialize(tender)
          @tender = tender
          @payment = tender.payment

          @path = "/ordermanagement/v1/orders/#{tender.order_id}/release-remaining-authorization"
          @method = 'post'
          @summary = I18n.t('workarea.klarna.gateway.request.release')
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-klarna-1.1.0 lib/workarea/klarna/gateway/release_request.rb
workarea-klarna-1.1.0.beta1 lib/workarea/klarna/gateway/release_request.rb
workarea-klarna-1.0.0 lib/workarea/klarna/gateway/release_request.rb
workarea-klarna-1.0.0.beta2 lib/workarea/klarna/gateway/release_request.rb
workarea-klarna-1.0.0.beta1 lib/workarea/klarna/gateway/release_request.rb