Module: OffsitePayments::Integrations::YandexMoney
- Defined in:
- lib/offsite_payments/integrations/yandex_money.rb
Defined Under Namespace
Classes: Helper, Notification
Class Method Summary
collapse
Class Method Details
.notification(post) ⇒ Object
29
30
31
|
# File 'lib/offsite_payments/integrations/yandex_money.rb', line 29
def self.notification(post)
Notification.new(post)
end
|
.service_url ⇒ Object
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/offsite_payments/integrations/yandex_money.rb', line 18
def self.service_url
case OffsitePayments.mode
when :production
self.production_url
when :test
self.test_url
else
raise StandardError, "Integration mode set to an invalid value: #{mode}"
end
end
|