class WeatherGov::ProductList
Public Instance Methods
items()
click to toggle source
# File lib/weather_gov/product_list.rb, line 11 def items @items ||= data.fetch("@graph").map { |item| Product.new(client: client, data: item) } end