module OffsitePayments::Integrations::YandexMoney

Public Class Methods

notification(post) click to toggle source
# File lib/offsite_payments/integrations/yandex_money.rb, line 29
def self.notification(post)
  Notification.new(post)
end
service_url() click to toggle source
# 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