Module: WhopSDK::Internal::Type::RequestParameters Private

Included in:
Models::AccessTokenCreateParams, Models::AppBuildCreateParams, Models::AppBuildListParams, Models::AppBuildPromoteParams, Models::AppBuildRetrieveParams, Models::AppCreateParams, Models::AppListParams, Models::AppRetrieveParams, Models::AppUpdateParams, Models::AuthorizedUserListParams, Models::AuthorizedUserRetrieveParams, Models::ChatChannelListParams, Models::ChatChannelRetrieveParams, Models::ChatChannelUpdateParams, Models::CheckoutConfigurationCreateParams, Models::CheckoutConfigurationListParams, Models::CheckoutConfigurationRetrieveParams, Models::CompanyCreateParams, Models::CompanyListParams, Models::CompanyRetrieveParams, Models::CourseChapterCreateParams, Models::CourseChapterDeleteParams, Models::CourseChapterListParams, Models::CourseChapterRetrieveParams, Models::CourseChapterUpdateParams, Models::CourseCreateParams, Models::CourseDeleteParams, Models::CourseLessonCreateParams, Models::CourseLessonDeleteParams, Models::CourseLessonInteractionListParams, Models::CourseLessonInteractionRetrieveParams, Models::CourseLessonListParams, Models::CourseLessonRetrieveParams, Models::CourseLessonUpdateParams, Models::CourseListParams, Models::CourseRetrieveParams, Models::CourseStudentListParams, Models::CourseStudentRetrieveParams, Models::CourseUpdateParams, Models::EntryApproveParams, Models::EntryDenyParams, Models::EntryListParams, Models::EntryRetrieveParams, Models::ExperienceAttachParams, Models::ExperienceCreateParams, Models::ExperienceDeleteParams, Models::ExperienceDetachParams, Models::ExperienceDuplicateParams, Models::ExperienceListParams, Models::ExperienceRetrieveParams, Models::ExperienceUpdateParams, Models::ForumListParams, Models::ForumPostCreateParams, Models::ForumPostListParams, Models::ForumPostRetrieveParams, Models::ForumPostUpdateParams, Models::ForumRetrieveParams, Models::ForumUpdateParams, Models::InvoiceCreateParams, Models::InvoiceListParams, Models::InvoiceRetrieveParams, Models::InvoiceVoidParams, Models::LedgerAccountRetrieveParams, Models::MemberListParams, Models::MemberRetrieveParams, Models::MembershipCancelParams, Models::MembershipListParams, Models::MembershipPauseParams, Models::MembershipResumeParams, Models::MembershipRetrieveParams, Models::MembershipUpdateParams, Models::MessageCreateParams, Models::MessageListParams, Models::MessageRetrieveParams, Models::MessageUpdateParams, Models::PaymentListParams, Models::PaymentRefundParams, Models::PaymentRetrieveParams, Models::PaymentRetryParams, Models::PaymentVoidParams, Models::PlanCreateParams, Models::PlanDeleteParams, Models::PlanListParams, Models::PlanRetrieveParams, Models::PlanUpdateParams, Models::ProductCreateParams, Models::ProductDeleteParams, Models::ProductListParams, Models::ProductRetrieveParams, Models::ProductUpdateParams, Models::PromoCodeCreateParams, Models::PromoCodeDeleteParams, Models::PromoCodeListParams, Models::PromoCodeRetrieveParams, Models::ReactionCreateParams, Models::ReactionListParams, Models::ReactionRetrieveParams, Models::ReviewListParams, Models::ReviewRetrieveParams, Models::ShipmentCreateParams, Models::ShipmentListParams, Models::ShipmentRetrieveParams, Models::SupportChannelCreateParams, Models::SupportChannelListParams, Models::SupportChannelRetrieveParams, Models::TransferCreateParams, Models::TransferListParams, Models::TransferRetrieveParams, Models::UserCheckAccessParams, Models::UserRetrieveParams, Models::WebhookUnwrapParams
Defined in:
lib/whop_sdk/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

Class Method Summary collapse

Instance Attribute Details

#request_optionsObject

Options to specify HTTP behaviour for this request.

@return [WhopSDK::RequestOptions, Hash{Symbol=>Object}]


# File 'lib/whop_sdk/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/whop_sdk/internal/type/request_parameters.rb', line 14

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

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