# File lib/declarative_authorization/maintenance.rb, line 195 def self.included (base) [:get, :post, :put, :delete].each do |method| base.class_eval "def \#{method}_with (user, *args)\nrequest_with(user, \#{method.inspect}, false, *args)\nend\n\ndef \#{method}_by_xhr_with (user, *args)\nrequest_with(user, \#{method.inspect}, true, *args)\nend\n", __FILE__, __LINE__ end end