|
@@ -17,10 +17,5 @@ module ActiveResource
|
|
|
connection.delete(element_path(id, options), headers)
|
|
|
end
|
|
|
end
|
|
|
-
|
|
|
- def self.build(attributes = {})
|
|
|
- attrs = self.format.decode(connection.get("#{new_element_path}", headers).body).merge(attributes)
|
|
|
- self.new(attrs)
|
|
|
- end
|
|
|
end
|
|
|
end
|