From 748fb8b8cb4b12e46b25325db3a6b3612b6ea8eb Mon Sep 17 00:00:00 2001 From: Peter Lampesberger Date: Sun, 20 Aug 2017 01:01:24 +0200 Subject: [PATCH] Fix typo in README - order_for_keychain_id instead of new_order --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 565e15c..8696666 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ How it works 2. Create an "account" and export its root extended public key (looks like xpub572b9e85...). 3. Install Straight via Gemfile into your Ruby application. 4. Create new Gateway with `Straight::Gateway.new`, set its properties. -5. Start creating bitcoin orders by calling `gateway.order_for_keychain_id(...)`` +5. Start creating bitcoin orders by calling `gateway.new_order(...)`` 6. Set callbacks to get notified when payment is confirmed. 7. Your wallet automatically detects incoming funds. Profit! @@ -74,7 +74,7 @@ Usage # Remember you should always use a new, unique keychain_id, should preferably # be consecutive. # - order = gateway.order_for_keychain_id(amount: 1, keychain_id: 1) + order = gateway.new_order(amount: 1, keychain_id: 1) # Start tracking the order #