Class: Inspec::Resources::Http::Worker::Local
- Inherits:
-
Base
- Object
- Base
- Inspec::Resources::Http::Worker::Local
show all
- Defined in:
- lib/resources/http.rb
Instance Attribute Summary
Attributes inherited from Base
#http_method, #opts, #url
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#body ⇒ Object
120
121
122
|
# File 'lib/resources/http.rb', line 120
def body
response.body
end
|
124
125
126
|
# File 'lib/resources/http.rb', line 124
def
response..to_h
end
|
#status ⇒ Object
116
117
118
|
# File 'lib/resources/http.rb', line 116
def status
response.status
end
|