lib/pay.rb in pay-1.0.0.rc3 vs lib/pay.rb in pay-1.0.0
- old
+ new
@@ -36,9 +36,15 @@
mattr_accessor :email_refund_subject
@@email_refund_subject = 'Payment refunded'
mattr_accessor :email_renewing_subject
@@email_renewing_subject = 'Your upcoming subscription renewal'
+ mattr_accessor :automount_webhook_routes
+ @@automount_webhook_routes = true
+
+ mattr_accessor :webhooks_path
+ @@webhooks_path = '/webhooks'
+
def self.setup
yield self
end
def self.user_model