Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
RentcastProxy::Database
Inherits
Reference
<
Object
Constants
DB_PATH = "cache.db"
Class methods
cache_response
(endpoint :
String
, query_params :
String
, response_body :
String
, status_code :
Int32
, ttl_seconds :
Int32
= 604800)
Source
cleanup_expired_cache
Source
get_cached_response
(endpoint :
String
, query_params :
String
)
Source
initialize_db
Source