I am new to Rails and am trying to figure out where I put my API Token for the external API I am using (one of Google's). I have worked with APIs in the past with Sinatra, but the directory structure of Rails has thrown me off with where I need to place it so I can access it in the controller. After I place my token somewhere, I plan on creating a create method in the controller and parsing the json data there so I can access it in my corresponding view. If someone could help guide me in the right direction as to where I put the token so I can access it (best practices), and if I'm on the right track to use the token in a method in the controller so I can access it in a view.
I know this question might be generic but from what I have Googled, many people new to Rails might benefit from this as to where to put things.