Sha256: 9c3b7ddea0d93ec939fea45181a8bd1ce4929339e837b338ab7ec7e7cb73ced3
Contents?: true
Size: 469 Bytes
Versions: 57
Compression:
Stored size: 469 Bytes
Contents
require "auth/notify" class Shopping::Payment < Auth::Shopping::Payment include Auth::Concerns::Shopping::PayUMoneyConcern include Auth::Notify =begin after_save do |document| notification = Noti.new resource_ids = {} resource_ids[User.name] = [document.resource_id] notification.resource_ids = JSON.generate(resource_ids) notification.objects[:payment_id] = document.id.to_s notification.save Auth::Notify.send_notification(notification) end =end end
Version data entries
57 entries across 57 versions & 1 rubygems