struct

Crig::Providers::OpenRouter::ProviderSort

Inherits Struct < Value < Object

Constructors

complex(config : ProviderSortConfig) : self
Source
from_json_value(value : JSON::Any) : self
Source
new(kind : Kind, strategy : ProviderSortStrategy | Nil = nil, config : ProviderSortConfig | Nil = nil)
Source
simple(strategy : ProviderSortStrategy) : self
Source

Instance methods

config
Source
kind
Source
strategy
Source
to_json_value
Source

Nested types