Class: SportsOddsAPI::Models::Sport::PointWord::Long
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SportsOddsAPI::Models::Sport::PointWord::Long
- Defined in:
- lib/sports_odds_api/models/sport.rb,
sig/sports_odds_api/models/sport.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Long
constructor
A new instance of Long.
- #to_hash ⇒ { plural: String, singular: 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 ⇒ Long
Returns a new instance of Long.
218 |
# File 'sig/sports_odds_api/models/sport.rbs', line 218
def initialize: (?plural: String, ?singular: String) -> void
|
Instance Attribute Details
#plural ⇒ String?
166 |
# File 'lib/sports_odds_api/models/sport.rb', line 166 optional :plural, String |
#singular ⇒ String?
171 |
# File 'lib/sports_odds_api/models/sport.rb', line 171 optional :singular, String |
Instance Method Details
#to_hash ⇒ { plural: String, singular: String }
220 |
# File 'sig/sports_odds_api/models/sport.rbs', line 220
def to_hash: -> { plural: String, singular: String }
|