Module: Increase::Models::OAuthTokenCreateParams::GrantType
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/increase/models/oauth_token_create_params.rb,
sig/increase/models/oauth_token_create_params.rbs
Overview
The credential you request in exchange for the code. In Production, this is
always authorization_code. In Sandbox, you can pass either enum value.
Constant Summary collapse
- AUTHORIZATION_CODE =
An OAuth authorization code.
:authorization_code- PRODUCTION_TOKEN =
An OAuth production token.
:production_token
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>
|
|
# File 'lib/increase/models/oauth_token_create_params.rb', line 73
|
Instance Method Details
#self?.values ⇒ ::Array[Increase::Models::OAuthTokenCreateParams::grant_type]
64 |
# File 'sig/increase/models/oauth_token_create_params.rbs', line 64
def self?.values: -> ::Array[Increase::Models::OAuthTokenCreateParams::grant_type]
|