def deals(options = {})
      options = update_by_expire_time options
      if deals_not_latest?(options)
        uniq = !!options.delete(:uniq)
        @rsqoot_deals = get('deals', options, SqootDeal) || []
        @rsqoot_deals = @rsqoot_deals.deals.map(&:deal) unless @rsqoot_deals.empty?
        @rsqoot_deals = uniq_deals(@rsqoot_deals) if uniq
      end
      logger(uri: sqoot_query_uri, records: @rsqoot_deals, type: 'deals', opts: options)
      @rsqoot_deals
    end
def deals(options = {})
      options = update_by_expire_time options
      if deals_not_latest?(options)
        uniq = !!options.delete(:uniq)
        @rsqoot_deals = get('deals', options, SqootDeal) || []
        @rsqoot_deals = @rsqoot_deals.deals.map(&:deal) unless @rsqoot_deals.empty?
        @rsqoot_deals = uniq_deals(@rsqoot_deals) if uniq
      end
      logger(uri: sqoot_query_uri, records: @rsqoot_deals, type: 'deals', opts: options)
      @rsqoot_deals
    end
Retrieve a list of deals based on the following parameters

 @param [String] query (Search deals by title, description, fine print, merchant name, provider, and category.)
 @param [String] location (Limit results to a particular area. We'll resolve whatever you pass us (including an IP address) to coordinates and search near there.)
 @param [Integer] radius (Measured in miles. Defaults to 10.)
 @param [Integer] page (Which page of result to return. Default to 1.)
 @param [Integer] per_page (Number of results to return at once. Defaults to 10.)