Module: TerminalShop::Internal::Type::RequestParameters Private
- Included in:
- Models::AddressCreateParams, Models::AddressDeleteParams, Models::AddressGetParams, Models::AddressListParams, Models::AppCreateParams, Models::AppDeleteParams, Models::AppGetParams, Models::AppListParams, Models::CardCollectParams, Models::CardCreateParams, Models::CardDeleteParams, Models::CardGetParams, Models::CardListParams, Models::CartClearParams, Models::CartConvertParams, Models::CartGetParams, Models::CartSetAddressParams, Models::CartSetCardParams, Models::CartSetItemParams, Models::EmailCreateParams, Models::OrderCreateParams, Models::OrderGetParams, Models::OrderListParams, Models::ProductGetParams, Models::ProductListParams, Models::ProfileMeParams, Models::ProfileUpdateParams, Models::SubscriptionCreateParams, Models::SubscriptionDeleteParams, Models::SubscriptionGetParams, Models::SubscriptionListParams, Models::SubscriptionUpdateParams, Models::TokenCreateParams, Models::TokenDeleteParams, Models::TokenGetParams, Models::TokenListParams, Models::ViewInitParams
- Defined in:
- lib/terminal_shop/internal/type/request_parameters.rb
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
Instance Attribute Summary collapse
-
#request_options ⇒ Object
Options to specify HTTP behaviour for this request.
Class Method Summary collapse
- .included(mod) ⇒ Object private
Instance Attribute Details
#request_options ⇒ Object
Options to specify HTTP behaviour for this request.
@return [TerminalShop::RequestOptions, Hash{Symbol=>Object}]
|
|
# File 'lib/terminal_shop/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/terminal_shop/internal/type/request_parameters.rb', line 14 def self.included(mod) raise ArgumentError.new(mod) unless mod <= TerminalShop::Internal::Type::BaseModel mod.optional(:request_options, TerminalShop::RequestOptions) end |