Skip to content

Commit

Permalink
Merge pull request #30 from uurcank/readme
Browse files Browse the repository at this point in the history
add title attribute in the sample code
  • Loading branch information
excid3 committed Oct 23, 2023
2 parents f6f7f85 + 79a6355 commit 20ce65e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -28,6 +28,7 @@ To generate a Receipt, Invoice, or Statement, create an instance and provide con

```ruby
r = Receipts::Receipt.new(
# title: "Receipt",
details: [
["Receipt Number", "123"],
["Date paid", Date.today],
Expand Down Expand Up @@ -242,6 +243,7 @@ Invoices follow the exact same set of steps as above. You'll simply want to modi

```ruby
Receipts::Invoice.new(
# title: "Invoice",
details: [
["Invoice Number", "123"],
["Issue Date", Date.today.strftime("%B %d, %Y")],
Expand Down Expand Up @@ -278,6 +280,7 @@ Statements follow the exact same set of steps as above. You'll simply want to mo

```ruby
Receipts::Statement.new(
# title: "Statement",
details: [
["Statement Number", "123"],
["Issue Date", Date.today.strftime("%B %d, %Y")],
Expand Down

0 comments on commit 20ce65e

Please sign in to comment.