Module: Spree::ProviderListing
- Extended by:
- ActiveSupport::Concern
- Included in:
- Integration, PaymentMethod
- Defined in:
- app/models/concerns/spree/provider_listing.rb
Overview
What a provider shows on its gallery card in the dashboard: a logo and a link to its setup guide. Shared by integrations and payment methods so a provider gem declares both the same way whichever family it extends.
class SpreeStripe::Gateway < Spree::Gateway
def self.logo_url = 'https://example.com/stripe.png'
def self.docs_url = 'https://spreecommerce.org/docs/integrations/payments/stripe'
end