struct

Smith::Mentions::Settings

Inherits Struct < Value < Object

Constructors

new(max_lines : Int32 = DEFAULT_MAX_LINES, max_total_bytes : Int32 = DEFAULT_MAX_TOTAL_BYTES, allow_outside : Bool = false, max_media_bytes : Int32 = Media::DEFAULT_MAX_BYTES)
Source

Instance methods

allow_outside?
Source
max_lines
Source
max_media_bytes

Its own budget, not a share of max_total_bytes: that one counts what is inlined as text, and a limit meant for source files says nothing about what an image is worth.

Source
max_total_bytes
Source