aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource/observing.rb
blob: 94836f4bb1b9c29a4cfa9b1c0415c39fea55ebf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
module ActiveResource
  module Observing
    extend ActiveSupport::Concern
    include ActiveModel::Observing

    included do
      wrap_with_notifications :create, :save, :update, :destroy
    end
  end
end