class

ArrTop::Config::Backend

Inherits JSON::Serializable < YAML::Serializable < Reference < Object

A single Sonarr/Radarr instance to poll.

Constructors

new(name : String, type : BackendType | Nil, url : String, api_key : String)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

api_key
Source
api_key=(api_key : String)
Source
name
Source
name=(name : String)
Source
type

Parsed leniently so an unknown value surfaces as a validation error rather than a parse crash. nil means the raw value was unrecognized.

Source
type=(type : BackendType | Nil)

Parsed leniently so an unknown value surfaces as a validation error rather than a parse crash. nil means the raw value was unrecognized.

Source
url=(url : String)
Source

Nested types