lib/adyen/rest/request.rb in adyen_jpiqueras-2.4.0 vs lib/adyen/rest/request.rb in adyen_jpiqueras-2.5.0

- old
+ new

@@ -91,14 +91,14 @@ def generate_form_data(attributes) Adyen::Util.flatten(attributes) end def generate_path(action) - PATH % action.split('.') + base_path % action.split('.') end - # @see Adyen::REST::Request#set_path - PATH = '/pal/servlet/%s/v12/%s' - private_constant :PATH + def base_path + '/pal/servlet/%s/v12/%s' + end end end end