You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: webhooks.rb
    path of file: ./repos/spree/core/lib/spree/core
    
    the code of the file until where you have to start completion: module Spree
  module Webhooks
    def self.disable_webhooks
      webhooks_disabled_previously = ENV['DISABL
    
    def self.disable_webhooks
      webhooks_disabled_previously = ENV['DISABLE_SPREE_WEBHOOKS']
      begin
        ENV['DISABLE_SPREE_WEBHOOKS'] = 'true'
        yield
      ensure
        ENV['DISABLE_SPREE_WEBHOOKS'] = webhooks_disabled_previously
      end