settings_extensions.rb 173 B

1234567891011
  1. # frozen_string_literal: true
  2. module Chewy
  3. module SettingsExtensions
  4. def enabled?
  5. settings[:enabled]
  6. end
  7. end
  8. end
  9. Chewy.extend(Chewy::SettingsExtensions)