module Pebble::Endpoints
Constants
- APP
- APP_INSTALL_MANAGER
- DRAW
- FCT_REG
- FIRMWARE
- LOGS
- MAX_ENDPOINT
- MUSIC_CONTROL
- NOTIFICATION
- PHONE_CONTROL
- PHONE_VERSION
- PING
- PUT_BYTES
- RESET
- RESOURCE
- RUNKEEPER
- SYSTEM_MESSAGE
- SYS_REG
- TIME
- VERSION
Public Class Methods
for_code(code)
click to toggle source
# File lib/pebble/endpoints.rb, line 24 def self.for_code(code) constants.find { |constant| const_get(constant) == code } end