Class: Inspec::Resources::Http::Worker::Local
- Inherits:
-
Base
- Object
- Base
- Inspec::Resources::Http::Worker::Local
show all
- Defined in:
- lib/inspec/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
135
136
137
|
# File 'lib/inspec/resources/http.rb', line 135
def body
response.body
end
|
139
140
141
|
# File 'lib/inspec/resources/http.rb', line 139
def
response..to_h
end
|
#status ⇒ Object
131
132
133
|
# File 'lib/inspec/resources/http.rb', line 131
def status
response.status
end
|