Sha256: a27d013350c9ddd38bb9aaff9389a032821e661464493536bc925f8d1ebc4b2a
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true module Tikkie module Notifications # Payment notification. class PaymentNotification NOTIFICATION_TYPE = "PAYMENT" attr_reader :body def initialize(body) @body = body end def subscription_id body[:subscriptionId] end def notification_type body[:notificationType] end def payment_request_token body[:paymentRequestToken] end def payment_token body[:paymentToken] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tikkie-api-2.0.0 | lib/tikkie/notifications/payment_notification.rb |