Module: RFlow::Components::HTTP::Extensions::HTTPRequestExtension
- Defined in:
- lib/rflow/components/http/extensions.rb
Overview
Need to be careful when extending to not clobber data already in data_object
Class Method Summary collapse
Class Method Details
.extended(base_data) ⇒ Object
23 24 25 |
# File 'lib/rflow/components/http/extensions.rb', line 23 def self.extended(base_data) base_data.data_object ||= {'uri' => '/', 'method' => 'GET', 'protocol' => 'HTTP/1.0', 'headers'=>{}, 'content' => ''} end |