psu-libraries/scholarsphere-client

Scholarsphere endpoint and client key as arguments

Opened this issue · 0 comments

Right now we are using 'SS4_ENDPOINT' and 'SS_CLIENT_KEY' to set the API endpoint url and key. This requires any system using this gem to know to set those environment variables. This is not ideal.

It would be better to inject these dependencies as arguments.