struct

BraveSearch::Params::NewsSearch

Inherits BraveSearch::Params::Base < JSON::Serializable < Struct < Value < Object

Constructors

new(q : String, count : Int32 | Nil = nil, offset : Int32 | Nil = nil, safesearch : Types::SafeSearch | Nil = nil, freshness : Types::Freshness | Types::FreshnessRange | String | Nil = nil, country : String | Nil = nil, search_lang : String | Nil = nil, ui_lang : String | Nil = nil, spellcheck : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

count
Source
country
Source
freshness
Source
offset
Source
safesearch
Source
search_lang
Source
spellcheck
Source
to_query_params
Source
ui_lang
Source
validate!
Source