Skip to content

Commit

Permalink
Updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
rruckley committed Oct 12, 2024
1 parent bf28104 commit a4c49eb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/create_document.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
//! Create Document Example
//!
use tmflib::tmf667::document::Document;
use tmflib::tmf651::agreement::Agreement;

fn main() {
let agreement = Agreement::new("My Aggreement");

let doc = Document::new("My Document")
.doc_type("PDF");
.doc_type("PDF")
.link(agreement);


// doc.link_entity(agreement);

dbg!(doc);
}

0 comments on commit a4c49eb

Please sign in to comment.