Class: HTTP::Feature

Inherits:
Object
  • Object
show all
Defined in:
lib/http/feature.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ Feature

rubocop:disable Style/OptionHash



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

def initialize(opts = {}) # rubocop:disable Style/OptionHash
  @opts = opts
end

Instance Method Details

#wrap_request(request) ⇒ Object



9
10
11
# File 'lib/http/feature.rb', line 9

def wrap_request(request)
  request
end

#wrap_response(response) ⇒ Object



13
14
15
# File 'lib/http/feature.rb', line 13

def wrap_response(response)
  response
end