Class: Courier::Models::EmailFooter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::EmailFooter
- Defined in:
- lib/courier/models/email_footer.rb,
sig/courier/models/email_footer.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(content: nil, inherit_default: nil) ⇒ EmailFooter
constructor
A new instance of EmailFooter.
- #to_hash ⇒ { content: String?, inherit_default: bool? }
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(content: nil, inherit_default: nil) ⇒ EmailFooter
Returns a new instance of EmailFooter.
|
|
# File 'lib/courier/models/email_footer.rb', line 16
|
Instance Attribute Details
#content ⇒ String?
9 |
# File 'lib/courier/models/email_footer.rb', line 9 optional :content, String, nil?: true |
#inherit_default ⇒ Boolean?
14 |
# File 'lib/courier/models/email_footer.rb', line 14 optional :inherit_default, Courier::Internal::Type::Boolean, api_name: :inheritDefault, nil?: true |
Instance Method Details
#to_hash ⇒ { content: String?, inherit_default: bool? }
12 |
# File 'sig/courier/models/email_footer.rbs', line 12
def to_hash: -> { content: String?, inherit_default: bool? }
|