Class: XTwitterScraper::Models::GuestWalletTopupResponse::Authorization
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::GuestWalletTopupResponse::Authorization
- Defined in:
- lib/x_twitter_scraper/models/guest_wallet_topup_response.rb,
sig/x_twitter_scraper/models/guest_wallet_topup_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Authorization
constructor
A new instance of Authorization.
- #to_hash ⇒ { header: :Authorization, scheme: :Bearer }
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 ⇒ Authorization
Returns a new instance of Authorization.
129 |
# File 'sig/x_twitter_scraper/models/guest_wallet_topup_response.rbs', line 129
def initialize: (?header: :Authorization, ?scheme: :Bearer) -> void
|
Instance Attribute Details
#header ⇒ Symbol, :Authorization
148 |
# File 'lib/x_twitter_scraper/models/guest_wallet_topup_response.rb', line 148 required :header, const: :Authorization |
#scheme ⇒ Symbol, :Bearer
153 |
# File 'lib/x_twitter_scraper/models/guest_wallet_topup_response.rb', line 153 required :scheme, const: :Bearer |
Instance Method Details
#to_hash ⇒ { header: :Authorization, scheme: :Bearer }
131 |
# File 'sig/x_twitter_scraper/models/guest_wallet_topup_response.rbs', line 131
def to_hash: -> { header: :Authorization, scheme: :Bearer }
|