Module: FacebookAds::EdgeHasDelete

Defined in:
lib/facebook_ads/edge.rb

Instance Method Summary collapse

Instance Method Details

#destroy(params) ⇒ Object



98
99
100
101
102
103
104
105
# File 'lib/facebook_ads/edge.rb', line 98

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