elasticsearch-api/api-spec-testing/test_file/task_group.rb
def response
            @response ||= begin
              if do_actions.any? { |a| a.yaml_response? }
                YAML.load(do_actions[-1].response)
              else
                do_actions[-1].response
              end
            end
          end
# Consider the response of interest the one resulting from the last action.
#
# @return [ Hash ] The response from the last action.
#
# @since 6.2.0
Consider the response of interest the one resulting from the last action.
Consider the response of interest the one resulting from the last action .
def response
            @response ||= begin
              if do_actions.any? { |a| a.yaml_response? }
                YAML.load(do_actions[-1].response)
              else
                do_actions[-1].response
              end
            end
          end
def response @response ||= begin if do_actions . any? { | a | a . yaml_response? } YAML . load ( do_actions [ - 1 ] . response ) else do_actions [ - 1 ] . response end end end
Consider the response of interest the one resulting from the last action.
Consider the response of interest the one resulting from the last action .
The response from the last action.
The response from the last action .
 Hash 
since
None