File size: 423 Bytes
097eaf0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module Firecrawl
  module Models
    # Response from starting an async batch scrape job.
    class BatchScrapeResponse
      attr_reader :id, :url, :invalid_urls

      def initialize(data)
        @id = data["id"]
        @url = data["url"]
        @invalid_urls = data["invalidURLs"]
      end

      def to_s
        "BatchScrapeResponse{id=#{id}, url=#{url}}"
      end
    end
  end
end