I have been given a task to output json on web page using Ruby and/or Rails. I would like to use both. I have to consume json from endpoint and have been given a URL link to it. It should be served up on a web server. I think I have an understanding of how to do it. I will use rails api gem.
Can someone please tell me if this is the right way? any recommendation as or advice as is the first time I am using JSON and RoR together.
I also have to use testing I will use BDD or TDD using capybara and rspec.