lib/bankster/client.rb in bankster-client-0.0.3 vs lib/bankster/client.rb in bankster-client-0.0.4
- old
+ new
@@ -11,10 +11,10 @@
@api_key = api_key
@options = {
base_uri: BANKSTER_BASE_URI || 'https://api.bankster.io',
headers: {
'Api-Key' => api_key,
- 'Bank-Credentials' => Base64.encode64(credentials.to_json)
+ 'Bank-Credentials' => Base64.urlsafe_encode64(credentials.to_json)
}
}
end
def transactions(account, from, to)