Skip to content

Commit

Permalink
more doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Felandil committed Jan 15, 2019
1 parent 8f0d7e6 commit 9321b4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/iota.rst
Expand Up @@ -25,7 +25,8 @@ The IOTA FHIR repository is coupled to the tangle.net IOTA REST implementation.
See: https://github.com/PACTCare/Pact.Fhir/blob/develop/Pact.Fhir.Iota.Tests/Utils/IotaResourceProvider.cs


.. code-block:: c
.. code-block:: python
var repository = new IotaFhirRepository(IotaResourceProvider.Repository, new FhirJsonTryteSerializer(), new InMemoryResourceTracker());
var creationInteractor = new CreateResourceInteractor(repository);
var response = await creationInteractor.ExecuteAsync(new CreateResourceRequest { Resource = resource });
Expand Down

0 comments on commit 9321b4e

Please sign in to comment.