I have coded this Ruby code. Everything here works perfect as intended, however it is a real mess. What would be the best way to clean this up with best practices and such?  class new_class    attr_reader :shop_id    SECRET_API_KEY = asdasdasQWRESFSDFVSDFASDFSADFASDF123123ASDASD$%$%      def set_shop_id(shop_Id)           @shop_id = shop_Id      end      def orders         params = Hash.new         params[:basic_auth] = {username: SECRET_API_KEY, password: ''}         orders_json = some_http_library.get(xyz/orders, params)         return JSON.parse(orders_json)     end    def products        params = Hash.new        params[:basic_auth] = {username: SECRET_API_KEY, password: ''}        products_json = some_http_library.get(xyz/products, params)        return JSON.parse(products_json)    end    def product(id)        params = Hash.new        params[:basic_auth] = {username: SECRET_API_KEY, password: ''}        product_json = some_http_library.get(xyz/products/#{id}, params)        return JSON.parse(product_json)    endend
Better way to code this Ruby class with similar functions
ruby