Method: Adparlor::Facebook::GraphApi::GraphObject.destroy

Defined in:
lib/adparlor/facebook/graph_api/graph_object.rb

.destroy(attributes = {}, options = {}) ⇒ Object



24
25
26
27
# File 'lib/adparlor/facebook/graph_api/graph_object.rb', line 24

def destroy(attributes = {}, options = {})
  obj = new(attributes)
  obj.delete(obj.update_path, options)
end