Class: NluAdapter::Adapters::Dialogflow::IntentCollection

Inherits:
Object
  • Object
show all
Includes:
NluAdapterIntentCollection
Defined in:
lib/nlu_adapter/dialogflow.rb

Overview

Class represents a collection of Intents

Instance Attribute Summary

Attributes included from NluAdapterIntentCollection

#intents, #name

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ IntentCollection

Constructor



152
153
# File 'lib/nlu_adapter/dialogflow.rb', line 152

def initialize(options = {})
end

Instance Method Details

#to_hHash

Convert self to Hash

Returns:

  • (Hash)

    ruby hash



158
159
# File 'lib/nlu_adapter/dialogflow.rb', line 158

def to_h
end

#to_jsonjson

convert self to json

Returns:

  • (json)

    json



164
165
# File 'lib/nlu_adapter/dialogflow.rb', line 164

def to_json
end