Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arirusso committed Sep 14, 2012
1 parent 6931614 commit fa5ef38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ First, supply a bunch of pass information and styling. This will become the fil

```ruby

serial = "SO_SERIAL"
serial_number = "SO_SERIAL"

spec = {
"formatVersion": 1,
"passTypeIdentifier": "pass.example.example",
"teamIdentifier": "METS",
"relevantDate": "2012-07-30T14:19Z",
"organizationName": "Example Inc.",
"serialNumber": serial,
"description": "this is a pass",
"serialNumber": serial_number,
"description": "The example pass from README.md",
"labelColor": "rgb(122, 16, 38)",
"backgroundColor": "rgb(227, 227, 227)",
"foregroundColor": "rgb(110,110,110)",
Expand Down Expand Up @@ -102,7 +102,7 @@ signing = Passifier::Signing.new(key_pem, pass_phrase, cert_pem)
Now it's time to create your pass.

```ruby
Passifier::Pass.generate("readme.pkpass", serial, spec, assets, signing)
Passifier::Pass.generate("readme.pkpass", serial_number, spec, assets, signing)
```

Passifier will have created the file `readme.pkpass` for you. When opened in Passbook, that pass looks something like:
Expand Down

0 comments on commit fa5ef38

Please sign in to comment.