Skip to content

Commit

Permalink
Comment cleanup/rename
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed Dec 26, 2016
1 parent 192e122 commit 5b088d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
File renamed without changes.
6 changes: 5 additions & 1 deletion Alexa.NET/ResponseBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public static SkillResponse TellWithLinkAccountCard(IOutputSpeech speechResponse
}
#endregion

#region Ask Responses
public static SkillResponse Ask(IOutputSpeech speechResponse, Reprompt reprompt)
{
return BuildResponse(speechResponse, false, null, reprompt, null);
Expand All @@ -62,7 +63,9 @@ public static SkillResponse Ask(IOutputSpeech speechResponse, Reprompt reprompt,
{
return BuildResponse(speechResponse, false, sessionAttributes, reprompt, null);
}
#endregion

#region Main Response Builder
private static SkillResponse BuildResponse(IOutputSpeech outputSpeech, bool shouldEndSession, Session sessionAttributes, Reprompt reprompt, ICard card)
{
SkillResponse response = new Response.SkillResponse();
Expand All @@ -76,9 +79,10 @@ private static SkillResponse BuildResponse(IOutputSpeech outputSpeech, bool shou
if (reprompt != null) body.Reprompt = reprompt;
if (card != null) body.Card = card;

response.Response = body; //var test
response.Response = body;

return response;
}
#endregion
}
}

0 comments on commit 5b088d5

Please sign in to comment.