Spaces:
Sleeping
Sleeping
Download apps/ruby-sdk/lib/firecrawl/models/crawl_response.rb from s-eto-hub/firecrawl-api: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/ruby-sdk/lib/firecrawl/models/crawl_response.rb
- Command line
-
hf download hf://spaces/s-eto-hub/firecrawl-api/apps/ruby-sdk/lib/firecrawl/models/crawl_response.rb
-
curl -L -o crawl_response.rb https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/ruby-sdk/lib/firecrawl/models/crawl_response.rb
345 Bytes
| # frozen_string_literal: true | |
| module Firecrawl | |
| module Models | |
| # Response from starting an async crawl job. | |
| class CrawlResponse | |
| attr_reader :id, :url | |
| def initialize(data) | |
| @id = data["id"] | |
| @url = data["url"] | |
| end | |
| def to_s | |
| "CrawlResponse{id=#{id}, url=#{url}}" | |
| end | |
| end | |
| end | |
| end | |