Class: Signalwire::Blade::Ping
- Defined in:
- lib/signalwire/blade/message/ping.rb
Instance Method Summary collapse
-
#initialize ⇒ Ping
constructor
Creates a Ping message.
Methods inherited from Message
#build_request, #error?, #error_code, #error_message, from_json, #id, #payload, #to_s
Constructor Details
#initialize ⇒ Ping
Creates a Ping message
8 9 10 11 12 13 |
# File 'lib/signalwire/blade/message/ping.rb', line 8 def initialize @payload = { method: 'blade.ping', params: {} } end |