Ok so I'm jumping into some basic Shopify App via Rails 4 and the Embedded frame. My question is this, to pull in order details you can use this line in the controller I use this below and it works, I can output order ID's and details to the app view...
@orders = ShopifyAPI::Order.find(:all, :params => {:limit => 10})
What line code would I use in the home_controller.rb to access risk values per order?
So basally I'm trying to write this in the controller to pull in details GET /admin/orders/#{id}/risks.json https://docs.shopify.com/api/order_risks#index
but not .json, I want it to be in ruby for the app.