Module: Pangea::Internal::Type::RequestParameters Private

Included in:
Models::AiGuard::TextGuardParams
Defined in:
lib/pangea/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

Class Method Summary collapse

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.

Raises:

  • (ArgumentError)


8
9
10
11
12
# File 'lib/pangea/internal/type/request_parameters.rb', line 8

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

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