mirror of
				https://github.com/bumi/blockstream_satellite
				synced 2025-11-03 21:50:23 +00:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									418ae22740
								
							
						
					
					
						commit
						d3865a65a4
					
				@ -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
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user