class YahooShoppingSearch::Resources::Item
Public Class Methods
new(hash)
click to toggle source
@param hash [Hash]
# File lib/yahoo_shopping_search/resources/item.rb, line 7 def initialize(hash) @item = hash end
Public Instance Methods
[](key)
click to toggle source
@param key [String] @return [Hash, nil]
# File lib/yahoo_shopping_search/resources/item.rb, line 13 def [](key) @item[key] end