Currently, all intents are tightly fixed to the TravelloAlexaLibrary\Application\AbstractAlexaApplication class. The idea behind this issue is to create single classes for each intent. Intent objects should habe access to the TravelloAlexaLibrary\Request\AlexaRequest and TravelloAlexaLibrary\Response\AlexaResponse objects and manipulate the Alexa response by changing its OutputSpeech, Card, Session Attributes, and so on.
The need to extend the AbstractAlexaApplication class to implement the handleIntentRequest() method in each application should be removed. The handleIntentRequest() should handle the intent requests automatically without the need to add each intent into a case condition.
Currently, all intents are tightly fixed to the
TravelloAlexaLibrary\Application\AbstractAlexaApplication
class. The idea behind this issue is to create single classes for each intent. Intent objects should habe access to theTravelloAlexaLibrary\Request\AlexaRequest
andTravelloAlexaLibrary\Response\AlexaResponse
objects and manipulate the Alexa response by changing its OutputSpeech, Card, Session Attributes, and so on.The need to extend the
AbstractAlexaApplication
class to implement thehandleIntentRequest()
method in each application should be removed. ThehandleIntentRequest()
should handle the intent requests automatically without the need to add each intent into acase
condition.