lib/mangopay.rb in mangopay-3.0.15 vs lib/mangopay.rb in mangopay-3.0.16

- old
+ new

@@ -49,11 +49,15 @@ end class << self attr_accessor :configuration + def version_code + "v2.01" + end + def api_path - "/v2/#{MangoPay.configuration.client_id}" + "/#{version_code}/#{MangoPay.configuration.client_id}" end def configure self.configuration ||= Configuration.new yield configuration