Module: Handinger::Models::CreateTask::Budget

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

Overview

Compute budget the worker is allowed to spend on the task. Defaults to standard.

See Also:

  • Handinger::Models::CreateTask#budget

Constant Summary collapse

LOW =

Returns:

  • (:low)
:low
STANDARD =

Returns:

  • (:standard)
:standard
HIGH =

Returns:

  • (:high)
:high
UNLIMITED =

Returns:

  • (:unlimited)
:unlimited

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/handinger/models/create_task.rb', line 56

Instance Method Details

#self?.values::Array[Handinger::Models::CreateTask::budget]

Returns:

  • (::Array[Handinger::Models::CreateTask::budget])


52
# File 'sig/handinger/models/create_task.rbs', line 52

def self?.values: -> ::Array[Handinger::Models::CreateTask::budget]