Skip to content

Commit

Permalink
Update Phase 1 Sample in README
Browse files Browse the repository at this point in the history
  • Loading branch information
obahareth committed Dec 6, 2023
1 parent df0129e commit 16dc219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tags = {
invoice_total: "115",
}

ZATCA.render_qr_code(tags)
ZATCA.render_qr_code(tags: tags)
# => data:image/png;base64,...
# Hint (Try pasting the above into your web browser's address bar)
```
Expand All @@ -49,7 +49,7 @@ tags = ZATCA::Tags.new({
invoice_total: "115",
})

generator = ZATCA::QRCodeGenerator.new(tags)
generator = ZATCA::QRCodeGenerator.new(tags: tags)
generator.render(size: 512)
```

Expand Down

0 comments on commit 16dc219

Please sign in to comment.