How to refresh the access token and refresh token


(Prakash S L) #1

Hi,

I am trying to refresh the tokens but i am getting below error

refreshed_token = $dwolla.auths.refresh(expired_token)

error : TypeError: no implicit conversion of Symbol into Integer

Can anyone please help me to fix this.

Thanks


(Spencer Hunter) #2

@Prakash_S_L,

It looks you just need to do $dwolla.auths.refresh(refresh_token: 'eiGf8wV4OzXWoaKL5CI9wJ7f5NWysOwCGzUJNgNoXx23ROXOD9') or pass it the token object that you want to refresh.


(Prakash S L) #3

Thanks it works fine now.