lib/oschadbank/client.rb in oschadbank-0.1.1 vs lib/oschadbank/client.rb in oschadbank-0.1.2
- old
+ new
@@ -21,10 +21,10 @@
def auth_params(args)
ParamsBuilder.new(self, :auth, args).build
end
def charge(args)
- request_params = ParamsBuilder.new(self, :complete, args).build
+ request_params = ParamsBuilder.new(self, :charge, args).build
Request.new(api_url, request_params).perform
end
def refund(args)
request_params = ParamsBuilder.new(self, :refund, args).build