struct

DuckDuckGo::Params

Inherits Struct < Value < Object

Query parameters for API requests

Constructors

new(no_redirect : Bool = false, no_html : Bool = false, skip_disambig : Bool = false)
Source

Instance methods

no_html=(no_html : Bool)

Remove HTML from text

Source
no_html?

Remove HTML from text

Source
no_redirect=(no_redirect : Bool)

Skip HTTP redirects for !bang commands

Source
no_redirect?

Skip HTTP redirects for !bang commands

Source
skip_disambig=(skip_disambig : Bool)

Skip disambiguation (D) Type

Source
skip_disambig?

Skip disambiguation (D) Type

Source
to_query_params

Convert to query string parameters

Source