Format the code example regarding relay connections
This commit is contained in:
parent
1a884ea7b7
commit
e6e4f576e3
@ -54,7 +54,7 @@ You may instantiate multiple Clients and multiple Relays.
|
|||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
client = Nostr::Client.new
|
client = Nostr::Client.new
|
||||||
relay = Nostr::Relay.new(url: 'wss://relay.damus.io', name: 'Damus')
|
relay = Nostr::Relay.new(url: 'wss://relay.damus.io', name: 'Damus')
|
||||||
|
|
||||||
client.connect(relay)
|
client.connect(relay)
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user