Module: SolidusActAsTenant::Spree::StoreCreditDecorator

Defined in:
app/decorators/spree/store_credit_decorator.rb

Instance Method Summary collapse

Instance Method Details

#payment_method_idObject

Fixes no method error related to validations added through acts_as_tenant



7
8
9
10
11
# File 'app/decorators/spree/store_credit_decorator.rb', line 7

def payment_method_id
  super
rescue NoMethodError
  nil
end