lib/helpers/controller_helpers.rb in wepay-rails-0.1.24 vs lib/helpers/controller_helpers.rb in wepay-rails-0.1.25
- old
+ new
@@ -44,10 +44,10 @@
def redirect_to_wepay_for_token(redirect_uri)
redirect_to gateway.token_url(redirect_uri)
end
def gateway
- @gateway ||= Gateway.new
+ @gateway ||= WepayRails::Payments::Gateway.new
end
# Auth code is the code that we store in the model
def wepay_auth_code=(auth_code)
@wepay_auth_code = auth_code
\ No newline at end of file