Sha256: 9fe8afbec268b3beddefa5d5764da37b0aec430e4463c8b7f9650e4f87cf7bc8
Contents?: true
Size: 446 Bytes
Versions: 6
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true module Afterpay module API module Payment class Find < Base def initialize(params = {}) @order_id = params[:order_id] end private attr_reader :order_id def payload { action: :get, endpoint: endpoint } end def endpoint "#{URL}/#{order_id}" end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems