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

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

Instance Method Summary collapse

Instance Method Details

#destroy!(options = {}) ⇒ Object



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

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