Module: Onlyfans::Models::PostListParams::Sort

Extended by:
Internal::Type::Enum
Defined in:
lib/onlyfans/models/post_list_params.rb,
sig/onlyfans/models/post_list_params.rbs

Overview

Sort the returned posts (default = desc)

Constant Summary collapse

DESC =

Returns:

  • (:desc)
:desc
ASC =

Returns:

  • (:asc)
:asc

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/onlyfans/models/post_list_params.rb', line 103

Instance Method Details

#self?.values ⇒ ::Array[Onlyfans::Models::PostListParams::sort]

Returns:

  • (::Array[Onlyfans::Models::PostListParams::sort])


105
# File 'sig/onlyfans/models/post_list_params.rbs', line 105

def self?.values: -> ::Array[Onlyfans::Models::PostListParams::sort]