Class: TerminalShop::Models::ProfileAPI::User
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- TerminalShop::Models::ProfileAPI::User
- Defined in:
- lib/terminal_shop/models/profile.rb
Overview
Instance Attribute Summary collapse
-
#email ⇒ String?
Email address of the user.
-
#fingerprint ⇒ String?
The user’s fingerprint, derived from their public SSH key.
-
#id ⇒ String
Unique object identifier.
-
#name ⇒ String?
Name of the user.
-
#stripe_customer_id ⇒ String
Stripe customer ID of the user.
Instance Method Summary collapse
-
#initialize(id: , email: , fingerprint: , name: , stripe_customer_id: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see User 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: , email: , fingerprint: , name: , stripe_customer_id: ) ⇒ Object
Some parameter documentations has been truncated, see TerminalShop::Models::ProfileAPI::User for more details.
A Terminal shop user. (We have users, btw.)
|
|
# File 'lib/terminal_shop/models/profile.rb', line 49
|
Instance Attribute Details
#email ⇒ String?
Email address of the user.
29 |
# File 'lib/terminal_shop/models/profile.rb', line 29 required :email, String, nil?: true |
#fingerprint ⇒ String?
The user’s fingerprint, derived from their public SSH key.
35 |
# File 'lib/terminal_shop/models/profile.rb', line 35 required :fingerprint, String, nil?: true |
#id ⇒ String
Unique object identifier. The format and length of IDs may change over time.
23 |
# File 'lib/terminal_shop/models/profile.rb', line 23 required :id, String |
#name ⇒ String?
Name of the user.
41 |
# File 'lib/terminal_shop/models/profile.rb', line 41 required :name, String, nil?: true |
#stripe_customer_id ⇒ String
Stripe customer ID of the user.
47 |
# File 'lib/terminal_shop/models/profile.rb', line 47 required :stripe_customer_id, String, api_name: :stripeCustomerID |