lib/api_proxy/config.rb in api_proxy-0.1.2 vs lib/api_proxy/config.rb in api_proxy-0.1.3

- old
+ new

@@ -8,11 +8,12 @@ :api_host, :api_port, :api_prefix, :request_starts_with, :request_allowed, - :custom_headers + :custom_headers, + :reject_params def initialize load_defaults end @@ -27,8 +28,10 @@ @api_prefix = '/api/v1/' @request_starts_with = '/_ts' @request_allowed = ->(_env) { true } @custom_headers = ->(_env) { {} } + + @reject_params = %w[utf8 authenticity_token commit format controller action] end end end