Sha256: a05d7708d1b1d90782d20540d6b42db0408d908c9da88a0dd74cea34601b775c
Contents?: true
Size: 269 Bytes
Versions: 2
Compression:
Stored size: 269 Bytes
Contents
module Klarna class Capture < Client def shipping_info(order_id, capture_id, data) do_request(:post, "/ordermanagement/v1/orders/#{order_id}/captures/#{capture_id}/shipping-info") do |request| request.body = data.to_json end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
klarna_client-0.9.1 | lib/klarna/capture.rb |
klarna_client-0.9.0 | lib/klarna/capture.rb |