Class: Dodopayments::Models::Blocklist::BlockByEmail
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::Blocklist::BlockByEmail
- Defined in:
- lib/dodopayments/models/blocklist/block_by_email.rb,
sig/dodopayments/models/blocklist/block_by_email.rbs
Direct Known Subclasses
CreateBlockedCustomerRequest::BlocklistCustomersBlockByEmail
Instance Attribute Summary collapse
-
#email ⇒ String
Email to block.
Instance Method Summary collapse
-
#initialize(email:) ⇒ BlockByEmail
constructor
A new instance of BlockByEmail.
- #to_hash ⇒ { email: String }
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(email:) ⇒ BlockByEmail
Returns a new instance of BlockByEmail.
|
|
# File 'lib/dodopayments/models/blocklist/block_by_email.rb', line 13
|
Instance Attribute Details
#email ⇒ String
Email to block. It must belong to an existing customer of this business.
11 |
# File 'lib/dodopayments/models/blocklist/block_by_email.rb', line 11 required :email, String |
Instance Method Details
#to_hash ⇒ { email: String }
11 |
# File 'sig/dodopayments/models/blocklist/block_by_email.rbs', line 11
def to_hash: -> { email: String }
|