Sha256: 9d4485b062d76bc7a92b16993409fecf7071c1ec8dd641434a0cb08c586a48e0

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

load File.join(Gem.loaded_specs['forgeos_commerce'].full_gem_path, 'app', 'models', 'order.rb')
Order.class_eval do

  private

  def waiting_for_cheque_event_with_notification
    waiting_for_cheque_event_without_notification
    if self.user
      Notifier.deliver_waiting_for_cheque_notification(self)
    end
  end
  alias_method_chain :waiting_for_cheque_event, :notification
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forgeos_commerce_front-1.9.0 app/models/order.rb