Class: Newebpay::Config
- Inherits:
-
Object
- Object
- Newebpay::Config
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/newebpay/config.rb
Instance Method Summary collapse
- #cancel_auth_notify_callback(&block) ⇒ Object
- #donation_notify_callback(&block) ⇒ Object
- #mpg_callback(&block) ⇒ Object
- #notify_callback(&block) ⇒ Object
- #payment_code_callback(&block) ⇒ Object
- #periodical_callback(&block) ⇒ Object
- #periodical_notify_callback(&block) ⇒ Object
Instance Method Details
#cancel_auth_notify_callback(&block) ⇒ Object
56 57 58 59 60 61 62 |
# File 'lib/newebpay/config.rb', line 56 def cancel_auth_notify_callback(&block) if block config.cancel_auth_notify_callback = block else config.cancel_auth_notify_callback end end |
#donation_notify_callback(&block) ⇒ Object
48 49 50 51 52 53 54 |
# File 'lib/newebpay/config.rb', line 48 def donation_notify_callback(&block) if block config.donation_notify_callback = block else config.donation_notify_callback end end |
#mpg_callback(&block) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/newebpay/config.rb', line 10 def mpg_callback(&block) if block config.mpg_callback = block else config.mpg_callback end end |
#notify_callback(&block) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/newebpay/config.rb', line 18 def notify_callback(&block) if block config.notify_callback = block else config.notify_callback end end |
#payment_code_callback(&block) ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/newebpay/config.rb', line 26 def payment_code_callback(&block) if block config.payment_code_callback = block else config.payment_code_callback end end |
#periodical_callback(&block) ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/newebpay/config.rb', line 33 def periodical_callback(&block) if block config.periodical_callback = block else config.periodical_callback end end |
#periodical_notify_callback(&block) ⇒ Object
40 41 42 43 44 45 46 |
# File 'lib/newebpay/config.rb', line 40 def periodical_notify_callback(&block) if block config.periodical_notify_callback = block else config.periodical_notify_callback end end |