Sha256: 89c071032270ba7f572df517cdc51cc84af1fbd95badb915d4f4b1ab6a9ffde9

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

# frozen_string_literal: true

module Tikkie
  module Api
    module Resources
      # Resource for a Payment Request Subscription.
      class PaymentRequestsSubscription < Base
        def subscription_id
          body[:subscriptionId]
        end

        private

        def create_resource(attributes)
          request.post("paymentrequestssubscription", options, attributes)
        end

        def delete_resource
          request.delete("paymentrequestssubscription", options)
        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/resources/payment_requests_subscription.rb