Sha256: d69900823dd873b29c7807f8420854376929ff8e5eab6ceeb0321dad588522c4
Contents?: true
Size: 780 Bytes
Versions: 1
Compression:
Stored size: 780 Bytes
Contents
# frozen_string_literal: true module Tikkie module Api module Clients # Payment Request endpoint at Tikkie. class PaymentRequests < Base def list(options = {}) payment_requests = Tikkie::Api::Resources::PaymentRequests.new(config, options) payment_requests.load end def get(payment_request_token, options = {}) payment_request = Tikkie::Api::Resources::PaymentRequest.new(config, options.merge(payment_request_token: payment_request_token)) payment_request.load end def create(attributes = {}, options = {}) payment_request = Tikkie::Api::Resources::PaymentRequest.new(config, options) payment_request.save(attributes) 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/payment_requests.rb |