Sha256: cf726794fee0e6a76673a7433f508af62bbec869098196f7a4e710fe5a42f282
Contents?: true
Size: 569 Bytes
Versions: 53
Compression:
Stored size: 569 Bytes
Contents
module ActiveResource class Base if ActiveResource::VERSION::MAJOR < 4 # Backported from ActiveResource master branch def self.headers @headers ||= {} if superclass != Object && superclass.headers @headers = superclass.headers.merge(@headers) else @headers end end # https://github.com/rails/activeresource/commit/dfef85ce8f653f75673631b2950fcdb0781c313c def self.delete(id, options = {}) connection.delete(element_path(id, options), headers) end end end end
Version data entries
53 entries across 53 versions & 2 rubygems