Method: Webmention::Response#initialize
- Defined in:
- lib/webmention/response.rb
#initialize(response, request) ⇒ Response
Create a new Webmention::Response.
Instances of this class represent completed HTTP requests, the details of which may be accessed using the delegated #code and #reason instance methods.
42 43 44 45 |
# File 'lib/webmention/response.rb', line 42 def initialize(response, request) @response = response @request = request end |