Closed rossmeissl closed 8 years ago
@gustavokloh any thoughts?
@rossmeissl You should do nothing differently.
As you can see here (https://github.com/dtmtec/restforce-bulk/blob/master/lib/restforce/bulk/client.rb#L9) we're using Restforce to authenticate.
So, if you have the env variables with credentials, that's ok.
Thanks @gustavokloh, I was trying to figure out how to declare the auth params in code (versus in the environment), but I gave up and used the environment auth method and it worked fine.
@rossmeissl :D
You can declare auth params in code. But you can instantiate the client with params and pass to Restforce::Bulk
I preffer environment vars.
I'm used to creating Restforce clients with
and then using
client.describe
etc. to interact with the API. What do I do differently withRestforce::Bulk
?