Class: PostActionDestroyer::DestroyResult

Inherits:
PostActionResult show all
Defined in:
lib/post_action_destroyer.rb

Instance Attribute Summary collapse

Attributes inherited from PostActionResult

#success

Attributes included from HasErrors

#conflict, #errors, #forbidden, #not_found

Method Summary

Methods inherited from PostActionResult

#failed?, #initialize, #success?

Methods included from HasErrors

#add_error, #add_errors_from, #rollback_from_errors!, #rollback_with!, #validate_child

Constructor Details

This class inherits a constructor from PostActionResult

Instance Attribute Details

#postObject

Returns the value of attribute post.



5
6
7
# File 'lib/post_action_destroyer.rb', line 5

def post
  @post
end