Module: FacebookAds::EdgeHasDelete

Defined in:
lib/facebook_ads/edge.rb

Instance Method Summary collapse

Instance Method Details

#destroy(params) ⇒ Object



109
110
111
112
113
114
115
116
# File 'lib/facebook_ads/edge.rb', line 109

def destroy(params)
  params = @param_set_for_delete.to_params(params) if @param_set_for_delete

  node.delete_edge(name, params) do |response|
    yield response if block_given?
    response
  end
end