Module: Straddle::Models::OrganizationList::ResponseType

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

Overview

Indicates how the response content is structured.

  • object means data contains one JSON object.
  • array means data contains an array of objects.
  • error means error contains error details.
  • none means the response has no data.

See Also:

  • Straddle::Models::OrganizationList#response_type

Constant Summary collapse

OBJECT =

Returns:

  • (:object)
:object
ARRAY =

Returns:

  • (:array)
:array
ERROR =

Returns:

  • (:error)
:error
NONE =

Returns:

  • (:none)
:none

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

Instance Method Details

#self?.values ⇒ ::Array[Straddle::Models::OrganizationList::response_type]

Returns:

  • (::Array[Straddle::Models::OrganizationList::response_type])


39
# File 'sig/straddle/models/organization_list.rbs', line 39

def self?.values: -> ::Array[Straddle::Models::OrganizationList::response_type]