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
119
120
121
|
# File 'lib/resources/http.rb', line 119
def body
response.body
end
|
123
124
125
|
# File 'lib/resources/http.rb', line 123
def
response..to_h
end
|
#status ⇒ Object
115
116
117
|
# File 'lib/resources/http.rb', line 115
def status
response.status
end
|