lib/mangopay/client.rb in mangopay-3.0.9 vs lib/mangopay/client.rb in mangopay-3.0.10
- old
+ new
@@ -1,11 +1,11 @@
-module MangoPay
- class Client < Resource
-
- def self.create(params)
- MangoPay.request(:post, '/api/clients/', params, {}, {
- 'user_agent' => "MangoPay V1 RubyBindings/#{MangoPay::VERSION}",
- 'Content-Type' => 'application/json'
- })
- end
- end
-end
+module MangoPay
+ class Client < Resource
+
+ def self.create(params)
+ MangoPay.request(:post, '/api/clients/', params, {}, {
+ 'user_agent' => "MangoPay V2 RubyBindings/#{MangoPay::VERSION}",
+ 'Content-Type' => 'application/json'
+ })
+ end
+ end
+end