1
0
mirror of https://github.com/bumi/blockstream_satellite synced 2026-02-17 14:27:49 +00:00

Update README.md

This commit is contained in:
2019-02-09 22:03:56 +00:00
committed by GitHub
parent 418ae22740
commit d3865a65a4

View File

@@ -24,6 +24,8 @@ Or install it yourself as:
### Quick example ### Quick example
```ruby ```ruby
require "blockstream_satellite"
order = BlockstreamSatellite::Order.create(path: '/path/to/file') order = BlockstreamSatellite::Order.create(path: '/path/to/file')
puts order.status # pending puts order.status # pending
order.pay # sends the lightning payment using the configured lnd client; request is synchronous order.pay # sends the lightning payment using the configured lnd client; request is synchronous