Class: EasyTalk::Types::AnyOf

Inherits:
BaseComposer show all
Defined in:
lib/easy_talk/types/any_of.rb

Overview

The ‘Types` module provides a collection of composers for defining different types.

This module contains composers for various types such as ‘AnyOf`, `AllOf`, etc. Each composer is responsible for defining the behavior and properties of its respective type.

Constant Summary

Constants inherited from BaseComposer

BaseComposer::Elem

Instance Attribute Summary

Attributes inherited from BaseComposer

#items

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseComposer

#initialize

Constructor Details

This class inherits a constructor from EasyTalk::Types::BaseComposer

Class Method Details

.nameSymbol

Returns the name of the AnyOf composer.

Returns:

  • (Symbol)

    The name of the composer.



14
15
16
# File 'lib/easy_talk/types/any_of.rb', line 14

def self.name
  :anyOf
end

Instance Method Details

#nameSymbol

Returns the name of the AnyOf composer.

Returns:

  • (Symbol)

    The name of the composer.



21
22
23
# File 'lib/easy_talk/types/any_of.rb', line 21

def name
  :anyOf
end