Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Azurite::Store
Inherits
Azurite::StoreInterface
<
Reference
<
Object
Constructors
new
(config :
Config
)
Source
Instance methods
articles_for_feed
(feed_url :
String
) :
Array
(
ArticleContent
)
Source
cleanup_low_quality_content
(min_length :
Int32
) :
Int32
Source
cleanup_old_entries
(retention_days :
Int32
|
Nil
= nil) :
Int32
Source
close
Source
db_size_mb
Source
enforce_size_limits
Source
get_article
(item_link :
String
) :
ArticleContent
|
Nil
Source
get_content
(item_link :
String
) :
String
|
Nil
Source
start_auto_cleanup
(interval :
Time::Span
= @config.auto_cleanup_interval) :
Nil
Source
stop_auto_cleanup
Source
store
(item_link :
String
, feed_url :
String
, title :
String
, content :
String
, content_type :
String
=
CONTENT_TYPE_DEFAULT
) :
Bool
Source