Module: ChartMogul::API::Actions::Destroy::ClassMethods

Defined in:
lib/chartmogul/api/actions/destroy.rb

Instance Method Summary collapse

Instance Method Details

#destroy!(options = {}) ⇒ Object



19
20
21
22
23
24
# File 'lib/chartmogul/api/actions/destroy.rb', line 19

def destroy!(options = {})
  handling_errors do
    connection.delete("#{resource_path.apply(options)}/#{options[:uuid]}")
  end
  true
end