Files
news.gitea.happylizard.me/bin/gems/typhoeus-1.4.1/lib/typhoeus/request/responseable.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

30 lines
588 B
Ruby

module Typhoeus
class Request
# This module contains logic for having a reponse
# getter and setter.
module Responseable
# Set the response.
#
# @example Set response.
# request.response = response
#
# @param [ Response ] value The response to set.
def response=(value)
@response = value
end
# Return the response.
#
# @example Return response.
# request.response
#
# @return [ Response ] The response.
def response
@response ||= nil
end
end
end
end