class SixSaferpay::PendingNotification
Attributes
merchant_emails[RW]
notify_url[RW]
Public Class Methods
new(merchant_emails: nil, notify_url: nil)
click to toggle source
# File lib/six_saferpay/models/pending_notification.rb, line 6 def initialize(merchant_emails: nil, notify_url: nil) @merchant_emails = merchant_emails @notify_url = notify_url end
Public Instance Methods
to_hash()
click to toggle source
# File lib/six_saferpay/models/pending_notification.rb, line 11 def to_hash hash = Hash.new hash.merge!(merchant_emails: @merchant_emails) if @merchant_emails hash.merge!(notify_url: @notify_url) if @notify_url hash end
Also aliased as: to_h