Setting configuration parameters in rails config and reading it from controller

Hi,

I have a set of parameters that needs to be initialized for ElasticMQ
sqs.
Right now I have added in the controller as below.

sqs =

RightAws::SqsGen2.new(“ABCD”,“DEFG”,{:server=>“localhost”,:port=>9324,:protocol=>“http”})

what is the better way to set it in config folder and access it in
controller and how to do it. Please help