Class: TerminalShop::Models::TokenGetResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- TerminalShop::Models::TokenGetResponse
- Defined in:
- lib/terminal_shop/models/token_get_response.rb
Overview
Instance Attribute Summary collapse
-
#data ⇒ TerminalShop::Models::TokenAPI
A personal access token used to access the Terminal API.
Instance Method Summary collapse
-
#initialize(data: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see TokenGetResponse for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(data: ) ⇒ Object
Some parameter documentations has been truncated, see TerminalShop::Models::TokenGetResponse for more details.
|
|
# File 'lib/terminal_shop/models/token_get_response.rb', line 14
|
Instance Attribute Details
#data ⇒ TerminalShop::Models::TokenAPI
A personal access token used to access the Terminal API. If you leak this, expect large sums of coffee to be ordered on your credit card.
12 |
# File 'lib/terminal_shop/models/token_get_response.rb', line 12 required :data, -> { TerminalShop::TokenAPI } |