Class: PostActionCreator::CreateResult

Inherits:
PostActionResult show all
Defined in:
lib/post_action_creator.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

#post_actionObject

Returns the value of attribute post_action.



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

def post_action
  @post_action
end

#reviewableObject

Returns the value of attribute reviewable.



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

def reviewable
  @reviewable
end

#reviewable_scoreObject

Returns the value of attribute reviewable_score.



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

def reviewable_score
  @reviewable_score
end