On Wednesday, January 30, 2019 at 5:15:54 AM UTC-5, Colin Law wrote:
>
> On Wed, 30 Jan 2019 at 10:09, fugee ohu <fuge...@gmail.com <javascript:>> 
> wrote: 
> > 
> > How would I get results->productId 
>
> results["productId"] 
>
> Colin 
>

puts parsed_obj["results"]  shows the entire results but `puts 
parsed_obj["results"]["productId"] gets me error no implicit conversion of 
String into Integer

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/72adb1f2-1b9e-4f15-8602-6f3020f026c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to