app/controllers/v1/spin_candidates_controller.rb
def show
      @spin = SpinCandidate.find_by(user_id: current_user.id, id: params[:id])
      unless @spin
        render_error_exchange(:spin_candidate_not_found, :not_found)
        return
      end
      return_response @spin, :ok, {}
    end
###
# Show (id: identification of the spin)
# Provides a view of the Spin Candidate
#
# @params id: integer id of the spin candidate
Show (id: identification of the spin)
Provides a view of the Spin Candidate
Show ( id : identification of the spin ) Provides a view of the Spin Candidate
def show
      @spin = SpinCandidate.find_by(user_id: current_user.id, id: params[:id])
      unless @spin
        render_error_exchange(:spin_candidate_not_found, :not_found)
        return
      end
      return_response @spin, :ok, {}
    end
def show @spin = SpinCandidate . find_by ( user_id : current_user . id , id : params [ :id ] ) unless @spin render_error_exchange ( :spin_candidate_not_found , :not_found ) return end return_response @spin , :ok , { } end
Show (id: identification of the spin)
Provides a view of the Spin Candidate
Show ( id : identification of the spin ) Provides a view of the Spin Candidate
params
integer id of the spin candidate
integer id of the spin candidate