lib/acfs/operation.rb in acfs-0.37.0.1.b295 vs lib/acfs/operation.rb in acfs-0.38.0

- old
+ new

@@ -53,10 +53,11 @@ def method { read: :get, list: :get, update: :put, create: :post, delete: :delete }[action] end def request - request = ::Acfs::Request.new url, method: method, params: params, data: data + request = ::Acfs::Request.new url, method: method, params: params, + data: data, operation: self request.on_complete do |response| ::ActiveSupport::Notifications.instrument 'acfs.operation.complete', operation: self, response: response