Class: Believe::Resources::Client
- Inherits:
-
Object
- Object
- Believe::Resources::Client
- Defined in:
- lib/believe/resources/client.rb,
lib/believe/resources/client/ws.rb
Defined Under Namespace
Classes: Ws
Instance Attribute Summary collapse
-
#ws ⇒ ::Believe::Resources::Client::Ws
readonly
WebSocket endpoints for real-time bidirectional communication - Live match simulation.
Instance Method Summary collapse
-
#initialize(client:) ⇒ Client
constructor
private
A new instance of Client.
Constructor Details
#initialize(client:) ⇒ Client
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Client.
14 15 16 17 |
# File 'lib/believe/resources/client.rb', line 14 def initialize(client:) @client = client @ws = ::Believe::Resources::Client::Ws.new(client: client) end |
Instance Attribute Details
#ws ⇒ ::Believe::Resources::Client::Ws (readonly)
WebSocket endpoints for real-time bidirectional communication - Live match simulation
9 10 11 |
# File 'lib/believe/resources/client.rb', line 9 def ws @ws end |