lib/epom/epom_element.rb in epom-0.7 vs lib/epom/epom_element.rb in epom-0.7.2

- old
+ new

@@ -24,10 +24,13 @@ def self.generic_method(method_name, url_params, body_params) signature = extended_methods[method_name] url_params_signature = signature[:url_parameters] body_params_signature = signature[:body_parameters] - url_signature = signature[:url] + url_signature = signature[:url] + + url_params.symbolize_keys! if url_params.is_a? Hash + body_params.symbolize_keys! if body_params.is_a? Hash url = replace_params_in_url(url_signature, url_params) method = signature[:method] if signature[:headers] \ No newline at end of file