Add readme on how to pay for an order

This commit is contained in:
bumi committed 2019-02-08 21:16:35 +01:00
1 parent db7a23d827
commit e245910da8
1 file changed
+11
+11
View File
@@ -70,6 +70,17 @@ order = BlockstreamSatellite::Order.get(uuid: 'uuid', auth_token: 'auth_token')
order.bump(1000)
```
### Pay for an order
```ruby
order = BlockstreamSatellite::Order.get(uuid: 'uuid', auth_token: 'auth_token')
# or
order = BlockstreamSatellite::Order.create(path: '/path/to/file')
order.pay
puts order.status
```
## Satus