lib/helpers/controller_helpers.rb in wepay-rails-0.1.12 vs lib/helpers/controller_helpers.rb in wepay-rails-0.1.13

- old
+ new

@@ -31,18 +31,8 @@ end def wepay_auth_code gateway.wepay_auth_code end - - def wepay_auth_header - {'Authorization' => "Bearer: #{gateway.wepay_auth_code}"} - end - - def wepay_user - response = gateway.get("/v2/user", {:headers => wepay_auth_header}) - puts response.inspect - JSON.parse(response) - end end end end \ No newline at end of file