README.md in macaroons-0.6.0 vs README.md in macaroons-0.6.1
- old
+ new
@@ -84,10 +84,10 @@
# User collects a discharge macaroon (likely from a separate service), that proves the claims in the third-party caveat and which may add additional caveats of its own
discharge = Macaroon.new(
location: 'http://auth.mybank/',
identifier: identifier,
- caveat: Ocaveat_key
+ key: caveat_key
)
discharge.add_first_party_caveat('time < 2015-01-01T00:00')
# discharge macaroons are bound to the root macaroon so they cannot be reused
protected_discharge = m.prepare_for_request(discharge)