Class: TerminalShop::Models::TokenAPI
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- TerminalShop::Models::TokenAPI
- Defined in:
- lib/terminal_shop/models/token.rb
Instance Attribute Summary collapse
-
#created ⇒ String
The created time for the token.
-
#id ⇒ String
Unique object identifier.
-
#token ⇒ String
Personal access token (obfuscated).
Instance Method Summary collapse
-
#initialize(id: , token: , created: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see TokenAPI 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(id: , token: , created: ) ⇒ Object
Some parameter documentations has been truncated, see TerminalShop::Models::TokenAPI for more details.
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.
|
|
# File 'lib/terminal_shop/models/token.rb', line 24
|
Instance Attribute Details
#created ⇒ String
The created time for the token.
22 |
# File 'lib/terminal_shop/models/token.rb', line 22 required :created, String |
#id ⇒ String
Unique object identifier. The format and length of IDs may change over time.
10 |
# File 'lib/terminal_shop/models/token.rb', line 10 required :id, String |
#token ⇒ String
Personal access token (obfuscated).
16 |
# File 'lib/terminal_shop/models/token.rb', line 16 required :token, String |