Sha256: 39e661795c8c16b58dabe03523c80ab8b38a88891afeec09d547d023f801b358
Contents?: true
Size: 645 Bytes
Versions: 1
Compression:
Stored size: 645 Bytes
Contents
# frozen_string_literal: true module Tikkie module Api module Clients # Payment endpoint at Tikkie. class Payments < Base def list(payment_request_token, options = {}) payments = Tikkie::Api::Resources::Payments.new(config, options.merge(payment_request_token: payment_request_token)) payments.load end def get(payment_request_token, payment_token, options = {}) payment = Tikkie::Api::Resources::Payment.new(config, options.merge(payment_request_token: payment_request_token, payment_token: payment_token)) payment.load end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tikkie-api-2.0.0 | lib/tikkie/api/clients/payments.rb |