Where in my Rails app do classes responsible for doing 3rd party API calls go?

Viewed 346

My application interfaces with a number of internal APIs in order to periodically import data and I was wondering where the appropriate place to put this code lives.

Some common places i've seen are /app/models/third_party_api.rb OR /lib/apis/third_party_api.rb but i have no idea what the common convention is.

Thank you

1 Answers
Related