Module: Aws::Lex::Conversation::Type::Enumeration

Included in:
ConfirmationState, DialogActionType, FulfillmentState, InputMode, InvocationSource, Message::ContentType, Sentiment, SlotElicitationStyle, SlotShape
Defined in:
lib/aws/lex/conversation/type/enumeration.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
13
14
15
16
17
# File 'lib/aws/lex/conversation/type/enumeration.rb', line 8

def self.included(base)
  base.extend(ClassMethods)
  base.include(InstanceMethods)
  base.attr_accessor(:raw)
  base.class_eval do
    def initialize(raw)
      self.raw = raw
    end
  end
end