Class: Courier::Models::EmailFooter::Social::Twitter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::EmailFooter::Social::Twitter
- Defined in:
- lib/courier/models/email_footer.rb,
sig/courier/models/email_footer.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(url: nil) ⇒ Twitter
constructor
A new instance of Twitter.
- #to_hash ⇒ { url: 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(url: nil) ⇒ Twitter
Returns a new instance of Twitter.
|
|
# File 'lib/courier/models/email_footer.rb', line 122
|
Instance Attribute Details
#url ⇒ String?
120 |
# File 'lib/courier/models/email_footer.rb', line 120 optional :url, String, nil?: true |
Instance Method Details
#to_hash ⇒ { url: String? }
112 |
# File 'sig/courier/models/email_footer.rbs', line 112
def to_hash: -> { url: String? }
|