Module: Straddle::Internal::Type::RequestParameters Private

Included in:
Models::AccountCreateParams, Models::AccountListParams, Models::AccountOnboardParams, Models::AccountRetrieveParams, Models::AccountSettingRetrieveParams, Models::AccountSimulateOnboardingParams, Models::AccountUpdateParams, Models::BridgeCreateBankAccountPaykeyParams, Models::BridgeCreatePlaidPaykeyParams, Models::BridgeCreateQuilttPaykeyParams, Models::BridgeCreateTokenParams, Models::CapabilityRequestCreateParams, Models::CapabilityRequestListParams, Models::ChargeCancelParams, Models::ChargeCreateParams, Models::ChargeHoldParams, Models::ChargeListUnmaskedParams, Models::ChargeRefundParams, Models::ChargeReleaseParams, Models::ChargeResubmitParams, Models::ChargeRetrieveParams, Models::ChargeUpdateParams, Models::ChargeUploadAuthorizationProofParams, Models::CustomerCreateParams, Models::CustomerDeleteParams, Models::CustomerListParams, Models::CustomerListUnmaskedParams, Models::CustomerRefreshReviewParams, Models::CustomerRetrieveParams, Models::CustomerUpdateParams, Models::Customers::ReviewListParams, Models::Customers::ReviewSetVerificationDecisionParams, Models::FundingEventListParams, Models::FundingEventListPaymentsParams, Models::FundingEventRetrieveParams, Models::FundingEventSimulateParams, Models::LinkedBankAccountCancelParams, Models::LinkedBankAccountCreateParams, Models::LinkedBankAccountListParams, Models::LinkedBankAccountListUnmaskedParams, Models::LinkedBankAccountRetrieveParams, Models::LinkedBankAccountUpdateParams, Models::OrganizationCreateParams, Models::OrganizationListParams, Models::OrganizationRetrieveParams, Models::PaykeyCancelParams, Models::PaykeyListParams, Models::PaykeyListUnmaskedParams, Models::PaykeyRefreshBalanceParams, Models::PaykeyRefreshReviewParams, Models::PaykeyRetrieveParams, Models::PaykeyRevealParams, Models::PaykeyUnblockParams, Models::Paykeys::ReviewListParams, Models::Paykeys::ReviewSetVerificationDecisionParams, Models::PaymentListParams, Models::PayoutCancelParams, Models::PayoutCreateParams, Models::PayoutHoldParams, Models::PayoutListUnmaskedParams, Models::PayoutReleaseParams, Models::PayoutResubmitParams, Models::PayoutRetrieveParams, Models::PayoutUpdateParams, Models::PayoutUploadAuthorizationProofParams, Models::RepresentativeCreateParams, Models::RepresentativeListParams, Models::RepresentativeListUnmaskedParams, Models::RepresentativeRetrieveParams, Models::RepresentativeUpdateParams, Models::WebhookUnwrapParams
Defined in:
lib/straddle/internal/type/request_parameters.rb,
sig/straddle/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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#request_options ⇒ Straddle::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 [Straddle::RequestOptions, Hash{Symbol=>Object}]

Parameters:

  • (Straddle::request_opts)

Returns:

  • (Straddle::request_opts)


# File 'lib/straddle/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.

Parameters:

  • mod (Module)

Raises:

  • (ArgumentError)


14
15
16
17
18
# File 'lib/straddle/internal/type/request_parameters.rb', line 14

def self.included(mod)
  raise ArgumentError.new(mod) unless mod <= Straddle::Internal::Type::BaseModel

  mod.optional(:request_options, Straddle::RequestOptions)
end