Class: Artoo::Interfaces::Ping

Inherits:
Interface show all
Defined in:
lib/artoo/interfaces/ping.rb

Overview

The Ping interface.

Constant Summary collapse

COMMANDS =
[:ping]

Instance Attribute Summary

Attributes inherited from Interface

#device, #name, #robot

Instance Method Summary collapse

Methods inherited from Interface

#commands, #initialize

Constructor Details

This class inherits a constructor from Artoo::Interfaces::Interface

Instance Method Details

#interface_typeObject



7
8
9
# File 'lib/artoo/interfaces/ping.rb', line 7

def interface_type
  :ping
end

#pingObject



13
14
# File 'lib/artoo/interfaces/ping.rb', line 13

def ping
end