core/app/models/spree/payment_method.rb
def deprecated_method_type_override
      if method(:method_type).owner != Spree::PaymentMethod
        Spree::Deprecation.warn "#{method(:method_type).owner} is overriding PaymentMethod#method_type. This is deprecated and will be removed from Solidus 3.0 (override partial_name instead).", caller[1..-1]
        method_type
      end
    end
# :nodoc:
# If method_type has been overridden, call it and return the value, otherwise return nil
:nodoc:
If method_type has been overridden, call it and return the value, otherwise return nil
: nodoc : If method_type has been overridden call it and return the value otherwise return nil
def deprecated_method_type_override
      if method(:method_type).owner != Spree::PaymentMethod
        Spree::Deprecation.warn "#{method(:method_type).owner} is overriding PaymentMethod#method_type. This is deprecated and will be removed from Solidus 3.0 (override partial_name instead).", caller[1..-1]
        method_type
      end
    end
def deprecated_method_type_override if method ( :method_type ) . owner != Spree :: PaymentMethod Spree :: Deprecation . warn "#{method(:method_type).owner} is overriding PaymentMethod#method_type. This is deprecated and will be removed from Solidus 3.0 (override partial_name instead)." , caller [ 1 .. - 1 ] method_type end end
:nodoc:
If method_type has been overridden, call it and return the value, otherwise return nil
: nodoc : If method_type has been overridden call it and return the value otherwise return nil