-
Removida classe
Linkcaseira dos projetos livraria e payfast. -
Na classe
PagamentoResourcedo payfast, foi criado o métodogetTransitionsque retorna um array deLinkdo JAX-RS com as transições possíveis, de acordo com o status do pagamento. -
O array de
Linké utilizado no métodolinksdoResponseBuilderdo JAX-RS:Response.ok().entity(pagamento).links(links).build()
-
Na classe
ClienteRestda livraria, foi modificado o código dos métodoscriarPagamentoeconfirmarPagamentopara utilizar oLinkdo JAX-RS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| NestInterceptor, | |
| ExecutionContext, | |
| Injectable, | |
| CallHandler, | |
| } from '@nestjs/common'; | |
| import { classToPlain } from 'class-transformer'; | |
| import { map } from 'rxjs/operators'; | |
| @Injectable() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Logs | |
| logs | |
| *.log | |
| npm-debug.log* | |
| # Runtime data | |
| pids | |
| *.pid | |
| *.seed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package br.com.caelum.estoque.ws.handler; | |
| import java.util.Iterator; | |
| import java.util.Set; | |
| import javax.xml.namespace.QName; | |
| import javax.xml.soap.Node; | |
| import javax.xml.soap.SOAPEnvelope; | |
| import javax.xml.soap.SOAPException; | |
| import javax.xml.soap.SOAPHeader; |
Testing subscript and superscript
Testing subscript subscript level 2
Testing superscript superscript level 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <snippet> | |
| <!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 --> | |
| <content><![CDATA[console.log($1);$0]]></content> | |
| <tabTrigger>conl</tabTrigger> | |
| <scope>text.html,source.js</scope> | |
| <description>console.log()</description> | |
| </snippet> | |
| <snippet> | |
| <!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 --> |