lib/amazon_associate/response.rb
def item_page
      unless @item_page
        @item_page = (@doc/"itemsearchrequest/itempage").inner_html.to_i
      end
      @item_page
    end
# Return current page no if :item_page option is when initiating the request.
Return current page no if :item_page option is when initiating the request.
Return current page no if : item_page option is when initiating the request .
def item_page
      unless @item_page
        @item_page = (@doc/"itemsearchrequest/itempage").inner_html.to_i
      end
      @item_page
    end
def item_page unless @item_page @item_page = ( @doc / "itemsearchrequest/itempage" ) . inner_html . to_i end @item_page end
Return current page no if :item_page option is when initiating the request.
Return current page no if : item_page option is when initiating the request .