Class: Spree::ApplePayDomainVerificationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Spree::ApplePayDomainVerificationController
- Defined in:
- lib/controllers/spree/apple_pay_domain_verification_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/controllers/spree/apple_pay_domain_verification_controller.rb', line 3 def show gateway = Spree::Gateway::StripeApplePayGateway.active.last raise ActiveRecord::RecordNotFound unless gateway render plain: gateway.preferred_domain_verification_certificate end |