Class: Respo::Successes::Destroy

Inherits:
Base show all
Defined in:
lib/respo/successes/destroy.rb

Instance Attribute Summary

Attributes inherited from Base

#label

Attributes inherited from Response

#record, #root, #view

Instance Method Summary collapse

Methods inherited from Base

#call, #initialize

Methods inherited from Response

call, #initialize, #serializer

Methods included from Helpers

#action_name, #camelize, pluralize, singularize

Constructor Details

This class inherits a constructor from Respo::Successes::Base

Instance Method Details

#dataObject



6
7
8
# File 'lib/respo/successes/destroy.rb', line 6

def data
  "Deleted #{record_name} #{label || clean_label}"
end