Sha256: 9b3a8c60b0c7014c2104a4f0a3b83c4b6f1b4b2c1b68f027bff95fb4b4fe966b

Contents?: true

Size: 595 Bytes

Versions: 1

Compression:

Stored size: 595 Bytes

Contents

# frozen_string_literal: true

module Tikkie
  module Api
    module Clients
      # Payment Request Subscription endpoint at Tikkie.
      class PaymentRequestsSubscription < Base
        def create(attributes = {}, options = {})
          payment_request = Tikkie::Api::Resources::PaymentRequestsSubscription.new(config, options)
          payment_request.save(attributes)
        end

        def delete(options = {})
          payment_request = Tikkie::Api::Resources::PaymentRequestsSubscription.new(config, options)
          payment_request.delete
        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_subscription.rb