Module: Concerns::InterproMixin

Extended by:
ActiveSupport::Concern
Included in:
User
Defined in:
app/models/concerns/interpro_mixin.rb

Instance Method Summary collapse

Instance Method Details

#has_ecommerce?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'app/models/concerns/interpro_mixin.rb', line 25

def has_ecommerce?
  (self.spree_api_key  && self.spree_api_url) || false
end