Class: Signalwire::Blade::Ping

Inherits:
Message
  • Object
show all
Defined in:
lib/signalwire/blade/message/ping.rb

Instance Method Summary collapse

Methods inherited from Message

#build_request, #error?, #error_code, #error_message, from_json, #id, #payload, #to_s

Constructor Details

#initializePing

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