Class: WhopSDK::Models::CompanyListResponse::Logo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::CompanyListResponse::Logo
- Defined in:
- lib/whop_sdk/models/company_list_response.rb,
sig/whop_sdk/models/company_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#url ⇒ String?
A pre-optimized URL for rendering this attachment on the client.
Instance Method Summary collapse
-
#initialize ⇒ Logo
constructor
A new instance of Logo.
- #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 ⇒ Logo
Returns a new instance of Logo.
89 |
# File 'sig/whop_sdk/models/company_list_response.rbs', line 89
def initialize: (url: String?) -> void
|
Instance Attribute Details
#url ⇒ String?
A pre-optimized URL for rendering this attachment on the client. This should be used for displaying attachments in apps.
138 |
# File 'lib/whop_sdk/models/company_list_response.rb', line 138 required :url, String, nil?: true |
Instance Method Details
#to_hash ⇒ { url: String? }
91 |
# File 'sig/whop_sdk/models/company_list_response.rbs', line 91
def to_hash: -> { url: String? }
|