Module: TildaRuby::Internal::Type::RequestParameters Private

Included in:
Models::ExportRetrieveFullParams, Models::ExportRetrieveParams, Models::PageListParams, Models::PageRetrieveFullParams, Models::PageRetrieveParams, Models::ProjectListParams, Models::ProjectRetrieveParams
Defined in:
lib/tilda_ruby/internal/type/request_parameters.rb,
sig/tilda_ruby/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

TildaRuby =

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.

Returns:

  • (:request_opts)

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

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

Returns:

  • (TildaRuby::request_opts)


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

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

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