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