Properties
Private
Readonly
pactsService
Methods
create
- create(createPact): Promise<Pact>
-
Returns Promise<Pact>
The created pact object.
findAll
- findAll(): Promise<Pact[]>
-
Returns Promise<Pact[]>
Returns all pacts
findOne
- findOne(address): Promise<Pact>
-
Returns Promise<Pact>
Returns all pacts
This is the pacts controller class. it handles the documentation of routes and implementation of services related to the pacts route.
Tag