title: Saving multiple api response in a single object in Ruby
body: <p>I have a scenario where I need to convert multiple API responses into one object. Is it possible how? Below is my code. How do I convert it into one single object?</p>
  <pre><code>require 'httparty'
  require 'json'
  
  def make_request(url)
    HTTParty.get(url, headers: { 'Accept' =&gt; 'application/json' }).parsed_response
  end
  
  numberone_apis = make_request('api.openweathermap.org/data/2.5/forecast/daily?q={city name},{state code}&amp;cnt={cnt}&amp;appid={API key}')
  
  numbertwo_apis= make_request('api.openweathermap.org/data/2.5/forecast/daily?q={city name},{state code},{country code}&amp;cnt={cnt}&amp;appid={API key}')
  
  
  numberthree_apis = make_request('api.openweathermap.org/data/2.5/forecast/daily?q={city name}&amp;cnt={cnt}&amp;appid={API key})
  
  
  puts numberone_apis
  puts numbertwo_apis
  puts numberthree_apis
  
  convert_object2one = how ? 
  </code></pre>
  <hr />