Class: EasyTalk::Types::OneOf

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

Overview

Represents a composition type that allows one of the specified types.

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

.nameObject

Returns the name of the composition type.



9
10
11
# File 'lib/easy_talk/types/one_of.rb', line 9

def self.name
  :oneOf
end

Instance Method Details

#nameObject

Returns the name of the composition type.



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

def name
  :oneOf
end