Module: SportsOddsAPI::Internal::Type::RequestParameters Private
- Included in:
- Models::AccountGetUsageParams, Models::EventGetParams, Models::LeagueGetParams, Models::MarketGetParams, Models::PlayerGetParams, Models::SportGetParams, Models::StatGetParams, Models::StreamEventsParams, Models::TeamGetParams
- Defined in:
- lib/sports_odds_api/internal/type/request_parameters.rb,
sig/sports_odds_api/internal/type/request_parameters.rbs
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: Converter
Constant Summary collapse
- SportsOddsAPI =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
-
#request_options ⇒ SportsOddsAPI::request_opts
private
Options to specify HTTP behaviour for this request.
Class Method Summary collapse
- .included(mod) ⇒ Object private
Instance Attribute Details
#request_options ⇒ SportsOddsAPI::request_opts
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Options to specify HTTP behaviour for this request.
@return [SportsOddsAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
# File 'lib/sports_odds_api/internal/type/request_parameters.rb', line 8
|
Class Method Details
.included(mod) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 17 18 |
# File 'lib/sports_odds_api/internal/type/request_parameters.rb', line 14 def self.included(mod) raise ArgumentError.new(mod) unless mod <= SportsOddsAPI::Internal::Type::BaseModel mod.optional(:request_options, SportsOddsAPI::RequestOptions) end |