Module: Privy::Models::KrakenEmbedAssetSortOption

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

Overview

Sorting options for the asset list endpoint.

Constant Summary collapse

:trending
MARKET_CAP_RANK =

Returns:

  • (:market_cap_rank)
:market_cap_rank
MINUS_MARKET_CAP_RANK =

Returns:

  • (:"-market_cap_rank")
:"-market_cap_rank"
SYMBOL =

Returns:

  • (:symbol)
:symbol
MINUS_SYMBOL =

Returns:

  • (:"-symbol")
:"-symbol"
NAME =

Returns:

  • (:name)
:name
MINUS_NAME =

Returns:

  • (:"-name")
:"-name"
CHANGE_PERCENT_1H =

Returns:

  • (:change_percent_1h)
:change_percent_1h
MINUS_CHANGE_PERCENT_1_H =

Returns:

  • (:"-change_percent_1h")
:"-change_percent_1h"
CHANGE_PERCENT_24H =

Returns:

  • (:change_percent_24h)
:change_percent_24h
MINUS_CHANGE_PERCENT_24_H =

Returns:

  • (:"-change_percent_24h")
:"-change_percent_24h"
CHANGE_PERCENT_7D =

Returns:

  • (:change_percent_7d)
:change_percent_7d
MINUS_CHANGE_PERCENT_7_D =

Returns:

  • (:"-change_percent_7d")
:"-change_percent_7d"
CHANGE_PERCENT_30D =

Returns:

  • (:change_percent_30d)
:change_percent_30d
MINUS_CHANGE_PERCENT_30_D =

Returns:

  • (:"-change_percent_30d")
:"-change_percent_30d"
CHANGE_PERCENT_1Y =

Returns:

  • (:change_percent_1y)
:change_percent_1y
MINUS_CHANGE_PERCENT_1_Y =

Returns:

  • (:"-change_percent_1y")
:"-change_percent_1y"
LISTING_DATE =

Returns:

  • (:listing_date)
:listing_date
MINUS_LISTING_DATE =

Returns:

  • (:"-listing_date")
:"-listing_date"

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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/privy/models/kraken_embed_asset_sort_option.rb', line 29

Instance Method Details

#self?.values::Array[Privy::Models::kraken_embed_asset_sort_option]

Returns:

  • (::Array[Privy::Models::kraken_embed_asset_sort_option])


47
# File 'sig/privy/models/kraken_embed_asset_sort_option.rbs', line 47

def self?.values: -> ::Array[Privy::Models::kraken_embed_asset_sort_option]