module Ethon::Easy::Http::Actionable
def set_params(easy)
-
easy
(Easy
) -- The easy to setup.
Other tags:
- Example: Setup nothing. -
def set_params(easy) params.escape = easy.escape? params.params_encoding = params_encoding base_url, base_params = url.split('?') base_url << '?' base_url << base_params.to_s base_url << '&' if base_params base_url << params.to_s easy.url = base_url end