Class: Signalwire::Blade::Connect
- Defined in:
- lib/signalwire/blade/message/connect.rb
Instance Method Summary collapse
-
#initialize ⇒ Connect
constructor
A new instance of Connect.
Methods inherited from Message
#build_request, #error?, #error_code, #error_message, from_json, #id, #payload, #to_s
Constructor Details
#initialize ⇒ Connect
Returns a new instance of Connect.
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/signalwire/blade/message/connect.rb', line 5 def initialize @payload = { method: 'blade.connect', params: { version: { major: 2, minor: 1, revision: 0 }, agent: "Ruby SDK/#{Signalwire::VERSION}" } } end |