mirror of
https://github.com/bumi/blockstream_satellite
synced 2025-06-19 11:05:36 +00:00
Add readme on how to pay for an order
This commit is contained in:
parent
db7a23d827
commit
e245910da8
11
README.md
11
README.md
@ -70,6 +70,17 @@ order = BlockstreamSatellite::Order.get(uuid: 'uuid', auth_token: 'auth_token')
|
|||||||
order.bump(1000)
|
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
|
## Satus
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user